Behavior-driven development (BDD) with Cucumber

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 –

  1. An introduction to BDD
  2. The Developer and Tester Divide
  3. Where BDD helps in an Agile project
  4. A short introduction to Cucumber
  5. A live working example of Cucumber
  6. Pitfalls of using Cucumber
  7. Cucumber on JVM


Rocky Jaiswal is a software developer with more than 9 years of experience in software analysis, design and programming. His primary area of expertise is application development using Java, Ruby and JavaScript. Cont…

IndicThreads Conference On Software Development will be held on 13-14 July 2012 in Delhi India. Click for details on Sessions, Speakers and Location. *Register now to grab the current discounted rates!

Comments are closed.