Created
June 18, 2014 09:16
-
-
Save isidore/af043a5cc7b4b95c6d26 to your computer and use it in GitHub Desktop.
Scenarios
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
[Test] | |
[TestCase("foo", "bar")] | |
[TestCase("jack", "jill")] | |
public void Transformer(string a, string b) | |
{ | |
using (ApprovalResults.ForScenario(a,b)) | |
{ | |
Approvals.Verify(Transform(a,b)); | |
} | |
} | |
// Will Produce | |
Class.Transformer.ForScenario.foo.bar.approved.txt | |
Class.Transformer.ForScenario.jack.jill.approved.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment