Behavior-driven development (BDD) is an agile software development technique which enables close collaboration between developers, testers and Product Owners. With TDD we make sure that the code is right, however many times we fail to ensure if the code is doing the right thing. BDD tries to ensure that the code written is doing the right thing as per the Product Owner’s specification.
BDD extends TDD by writing test cases in a natural language that non-programmers can read. In this session we will have a look at Cucumber, a popular tool that enables us to do BDD. Cucumber works with Ruby and Java and thus covers a wide variety of projects.
We will also look at the benefits and pitfalls of using Cucumber and what can expected of it in the future.
The session will consist of the following topics -
- An introduction to BDD
- The Developer and Tester Divide
- Where BDD helps in an Agile project
- A short introduction to Cucumber
- A live working example of Cucumber
- Pitfalls of using Cucumber
- Cucumber on JVM