Created
November 17, 2008 16:32
-
-
Save joefiorini/25815 to your computer and use it in GitHub Desktop.
This file contains 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
======================================================= BAD | |
Scenario: User selects a group on the news widget | |
Given there are articles for each group | |
When I select a group | |
Then the news list should display news for the group I selected | |
======================================================= BAD | |
Scenario: User selects the BDD group | |
Given there are 4 articles in the BDD group | |
When I select the BDD group | |
Then the news list should display the 4 articles from the BDD group | |
======================================================= GOOD | |
Scenario: User selects the BDD group | |
Given there is an article in the BDD group named Rspec | |
And there is an article in the TDD group called NUnit | |
When I select the BDD group | |
Then the news list should show the article named Rspec | |
And the news list should not show the article named NUnit | |
======================================================= GOOD | |
Scenario: Admin adds news to a particular group | |
Given there are 4 articles in the BDD group | |
When I add an article to the BDD group named Cucumber | |
Then there should be 5 articles in the BDD group | |
And there should be an article named Cucumber in the BDD group | |
Scenario: User selects a group on the news widget | |
Given there are articles for each group | |
When I select a group | |
Then the news list should display news for the group I selected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment