Skip to content

Instantly share code, notes, and snippets.

@plioi
Created March 4, 2014 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plioi/9338909 to your computer and use it in GitHub Desktop.
Save plioi/9338909 to your computer and use it in GitHub Desktop.
public class CustomConvention : Convention
{
public CustomConvention()
{
Classes
.NameEndsWith("Tests");
Methods
.Where(method => method.IsVoid());
HideExceptionDetails
.For<AssertionException>()
.For(typeof(Assert));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment