Skip to content

Instantly share code, notes, and snippets.

@plioi
Created December 12, 2013 16:14
Show Gist options
  • Save plioi/7930617 to your computer and use it in GitHub Desktop.
Save plioi/7930617 to your computer and use it in GitHub Desktop.
public class CustomConvention : Convention
{
public CustomConvention()
{
Classes
.NameEndsWith("Tests");
Methods
.Where(method => method.IsVoid());
CaseExecution
.Skip(@case => @case.Method.HasOrInherits<SkipAttribute>());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment