public void RunByCases(List<TestCase> testcases) { Stack<TestCase> caseStack = new Stack<TestCase>(); foreach (var test in testcases) caseStack.Push(test); testEngine.BeginRunByCase(caseStack); }