Created
September 15, 2011 15:28
-
-
Save sixtyfive/1219552 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: User authentication | |
| Szenario: Existing user logs in | |
| Given the user is on the login page | |
| When the user enters her credentials | |
| And clicks on "Login" | |
| Then the user is redirected to the "Activities" page |
Author
Looks really good!
Suggestions:
- Indent :)
- There does not seem to be a link between the context (Givens) and the rest of the steps:
Scenario: Login
Given I am an existing user
When I enter my credentials # more explicit action here? "When I login with my credentials" ?
Then I'm shown the activities for the current week
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changed it around a bit and added logout: