I have a few times wanted to include/exclude all tests using a specific interceptor. The possibility to add a category to all fixtures using it would solve the need.
Suggestion:
public interface ICategoryName
{
string Category { get; }
}
public class UnicornInterceptor : ITestContext, ICategoryName
{
public string Category => "Unicorns";
public void After(ITestResult result)
{
//Clean unicorns
}
public void Before()
{
//Prepare unicorns
}
}
I have a few times wanted to include/exclude all tests using a specific interceptor. The possibility to add a category to all fixtures using it would solve the need.
Suggestion: