Integration tests - BDD
• Overall application functionalities
• Tell a story
• Walk through your application
Tell a story
In order to ensure safety of our app
As a developer
I want be sure authentication can't be compromised
Scenario: Authenticating with wrong password
Given I've created a user for my reseller account "Openminds"
When I go to the homepage
And I ﬁll in the following:
| Login | firstname.lastname@example.org |
| Password | foobar |
And I press "Log in"
Then I should see "Couldn't log you in"