Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Agile Process with Cucumber

Apresentação feita por Letícia Rosa, Guilherme Selau e Rafael Karst no primeito "Inovation Day" da empresa e-Core em Fev 2014.
by

Leticia Jariy da Rosa

on 16 January 2015

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Agile Process with Cucumber

Agile Process with Cucumber
Example
This example shows a login test for a simple website. The user logs on to the website and should be advanced to the logged-in page.

Feature: Test login

Scenario Outline: Login Success and Failure


Given
I navigate to the mock application

When
I try to login with valid credentials

Then
I should see that I logged in successfully
Conclusion
Firstly, what is Cucumber?
Cucumber is a testing framework that helps to bridge the gap between software developers and business managers.

Tests are written in plain language based on the behavior-driven development (BDD) style of Given, When, Then, which any layperson can understand.

It describes a cycle of interactions with well-defined outputs, resulting in the delivery of working, tested software that matters.
But... why it can be used to fill the gaps between technical and business teams??
Cucumber lets software development teams describe how software should behave in plain text (business-readable).

It serves as documentation, automated tests and development-aid - all rolled into one format.
Technical information
Ruby
Java
.NET
web applications

It has been translated to over 40 spoken languages.

It can be used within another tools, to support and improve testing process.
Given, When, Then
This syntax is designed to be intuitive.

Given
provides context for the test scenario about to be executed

When
specifies the set of actions that triggers the test

Then
specifies the expected result of the test
Stimulates conversations between stakeholders and IT Team.
The developer and stakeholder collaborate to write automated tests.
These conversations help to find gaps and misunderstandings beforehand.
Cucumber might just seem like a testing tool, but at its heart it's really a collaboration tool.

This is Cucumber's big secret: the tests and documentation are just a happy side effect; the real value lies in the knowledge you discover during those conversations.

BRING ALL TOGETHER!!
Bibliography
The Cucumber Book: Behavior-Driven Development for Testers and Developers
Matt Wynne and Aslak Hellesoy, 2012

Official Cucumber website
https://github.com/cucumber/cucumber/wiki

Introduction to Cucumber for non-programmers
https://github.com/cucumber/cucumber/wiki/Introduction-to-Cucumber-for-non-programmers

3 misconceptions about BDD
<
http://www.thoughtworks.com/insights/blog/3-misconceptions-about-bdd#!>

Automated testing with Selenium and Cucumber
http://www.ibm.com/developerworks/opensource/library/a-automating-ria/index.html

Cucumber at Wikipedia
http://en.wikipedia.org/wiki/Cucumber_(software)
Thank you!!
Behavior-Driven Development
Full transcript