Send the link below via email or IMCopy
Present to your audienceStart 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.
Make your likes visible on Facebook?
You can change this under Settings & Account at any time.
Agile Process with Cucumber
Transcript of Agile Process with Cucumber
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
I navigate to the mock application
I try to login with valid credentials
I should see that I logged in successfully
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.
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.
provides context for the test scenario about to be executed
specifies the set of actions that triggers the test
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!!
The Cucumber Book: Behavior-Driven Development for Testers and Developers
Matt Wynne and Aslak Hellesoy, 2012
Official Cucumber website
Introduction to Cucumber for non-programmers
3 misconceptions about BDD
Automated testing with Selenium and Cucumber
Cucumber at Wikipedia