Created
November 17, 2008 15:59
-
-
Save patmaddox/25806 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
When player wins he should be paid 1-1 | |
When player loses, he is not paid | |
When player has blackjack, he is paid 1.5-1 | |
Scenario: <Scenario title> | |
Given <some known state> | |
And <some more known state> | |
When <I do something> | |
Then <some desired outcome> | |
And <some desired outcome> | |
Scenario: Customer chooses free shipping | |
Given a shopping cart total of $100 | |
When I check out | |
Then I should see an offer for free shipping | |
When I choose free shipping | |
And I submit the order | |
Then the order total should be $100 | |
Scenario: Customer chooses express shipping | |
Given a shopping cart total of $100 | |
When I check out | |
Then I should see an offer for free shipping | |
When I choose express shipping | |
And I submit the order | |
Then the order total should be $125 | |
Scenario: Customer checks out | |
Given a shopping cart total of $100 | |
When I press the submit button | |
Then the order should be in the database | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment