By Hussain Abbas / @hussainweb
for Drupal Bangalore Mini-camp
That's me
We're Hiring!
“BDD is a second-generation, outside-in, pull-based, multi stakeholder, multiple scale, high automation, agile technology.” — Dan North
“BDD is when you use examples in conversations to illustrate behaviour.” — Liz Keogh
“... test software the matters.”
Clients don't care about:
Start Talking
Used everywhere.
#language: en
Feature: Login
Scenario: Login without filling any detail
Given I am on "/user"
When I press "Log in"
And I should see the following <error messages>
| error messages |
| Username field is required |
| Password field is required |
#language: en
Feature: Login
Scenario: Create users
Given users:
| name | mail | status |
| Joe User | joe@example.com | 1 |
And I am logged in as a user with the "administrator" role
When I visit "admin/people"
Then I should see the link "Joe User"
@hussainweb, hussainweb.me, blog.husainad.com
Axelerant
We're Hiring