bool MatchesExcludeCategory(ITest test)
{
if (ExcludeCategories.Count == 0)
return false;
var categoryList = test.Properties["Category"];
if (categoryList == null || categoryList.Count == 0)
return false;
return categoryList.OfType<string>().Any(ExcludeCategories.Contains);
}
public virtual bool Pass(ITest test)