/// <inheritdoc /> protected override PatternTest CreateTest(PatternEvaluationScope containingScope, IMethodInfo method) { PatternTest test = base.CreateTest(containingScope, method); test.Name = NameSanitizer.MakeNameFromIdentifier(test.Name); test.Kind = NBehaveTestKinds.Specification; return(test); }
/// <inheritdoc /> protected override PatternTest CreateTest(PatternEvaluationScope constainingScope, ITypeInfo type) { PatternTest test = base.CreateTest(constainingScope, type); test.Name = NameSanitizer.MakeNameFromIdentifier(test.Name); test.Kind = NBehaveTestKinds.Concern; return(test); }