static TestSuite FindSuite(ITest test) { if (test == null) { return null; } var ts = test as TestSuite; return ts ?? FindSuite(test.Parent); }