Created
August 26, 2012 06:24
-
-
Save smallgeek/3474998 to your computer and use it in GitHub Desktop.
NaturalSpec_Tutorial_3_5
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
Scenario: When selling a car for 1000 it should fail with Need More Money | |
- Should fail… | |
– As Bert | |
– When selling a car for 1000 | |
Scenario: When selling a car for 19000 it should equal the LameCar | |
- As Bert | |
– When selling a car for 19000 | |
=> It should equal Fiat (45 HP) | |
=> It should not equal BMW (200 HP) | |
==> OK | |
Scenario: When selling a car for 30000 it should equal my DreamCar | |
- As Bert | |
– When selling a car for 30000 | |
=> It should equal BMW (200 HP) | |
==> OK | |
Scenario: When selling a car for 30000 it should equal the DreamCar | |
- As Bert | |
– When selling a car for 30000 | |
=> It should equal BMW (200 HP) | |
=> It should not equal Fiat (45 HP) | |
>==> OK | |
4 passed, 0 failed, 0 skipped, took 1,81 seconds (NUnit 2.5). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment