public virtual bool Pass(ITest test)
{
if (Assembly != null && ExecutingAssembly != Assembly)
return false;
bool pass = true;
if (!test.IsSuite)
{
var parents = GetParents(test).ToList();
pass &= parents.Any(MatchesKeyword);
pass &= parents.Any(MatchesIncludeCategory);
pass &= !parents.Any(MatchesExcludeCategory);
}
if (!pass)
SkipCount++;
return pass;
}