Created
March 27, 2015 10:56
-
-
Save DominicFinn/c48565fad47556cbdacd to your computer and use it in GitHub Desktop.
Example of our Acceptance Specification Test
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
public class GivenAPersonIsCreated : AcceptanceSpecification { | |
protected override void Given() { | |
} | |
protected override void When() { | |
} | |
[Then] | |
public void TheUserShouldBeSaved() { | |
} | |
[Then] | |
public void TheUserShouldBeSentAWelcomeEmail() { | |
} | |
[Then] | |
public void TheMonthlyUserCreationStatsShouldBeUpdated() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment