What we really do….
As a Retail Customer, I want to withdraw money
from my Account so that I can get Money.
BDD – Outside In
Scenarios and Examples in Ubiquitous Language
HAVING CONVERSATION IS
EXAMPLES HELP DISCOVER
BDD Vs TDD
• Development Methodology Vs Development
• Business Driven Vs Design Approach
• Customer Writing Tests Vs Developers writing
• Focus on Behavioural Aspect Vs
As a user
I want to login with my details
So that I can get access to the site
Scenario: User uses wrong password
Given a username 'jdoe'
And a password 'letmein'
When the user logs in with username and password
Then the login form should be shown again
Cucumber at a glance…
Written in plain
English Language using
Source Code in Ruby
Or Java Or Dot Net etc
for Dot Net
Integration with other platforms
• TestBot Or Hydra : Tools used to run
Cucumber tests in parallel. You can also use
Jenkins and create slave machines.
• Relish: A service to publish cucumber features
• FactoryGirl GEM: Test Data Builder
• Easy to Integrate with CI environment.
Cucumber Add Ons