public override void SpecifyConventions(ConventionSpecification specification) { specification.SetBefore(RegexInsensitive("^before_each")); specification.SetAct(RegexInsensitive("^act_each")); specification.SetExample(RegexInsensitive("(^it_)|(^specify_)")); specification.SetContext(RegexInsensitive("_")); }
public override void SpecifyConventions(ConventionSpecification specification) { specification.SetBefore(RegexInsensitive("^before_each")); specification.SetBeforeAll(RegexInsensitive("^before_all")); specification.SetAct(RegexInsensitive("^act_each")); specification.SetAfter(RegexInsensitive("^after_each")); specification.SetAfterAll(RegexInsensitive("^after_all")); specification.SetExample(RegexInsensitive("(^it_)|(^specify_)")); specification.SetContext(RegexInsensitive("_")); //anything that doesn't match is considered a helper method and is never directly invoked }