Last active
January 26, 2016 23:55
-
-
Save plioi/1e62c7be7a81af65ef64 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
public class TestingConvention : Convention | |
{ | |
public TestingConvention() | |
{ | |
Classes | |
.NameEndsWith("Tests"); | |
Methods | |
.Where(method => method.IsVoid() || method.IsAsync()); | |
ClassExecution | |
.Wrap<InitializeAutoMapper>(); | |
CaseExecution | |
.Wrap<ResetDatabase>() | |
.Wrap<NestedContainerPerCase>(); | |
Parameters | |
.Add<AutoFixtureParameterSource>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment