public void TestSuiteFinished(TestContext context, TestCaseSummary testResultsSummary) { lock (sync) { nestedCallback.TestSuiteFinished(context, testResultsSummary); } }
public TestCaseSummary RunTests(IEnumerable <string> testPaths, TestOptions options, ITestMethodRunnerCallback callback = null) { callback = options.OpenInBrowser || callback == null ? RunnerCallback.Empty : callback; callback.TestSuiteStarted(); var summary = ProcessTestPaths(testPaths, options, TestExecutionMode.Execution, callback); callback.TestSuiteFinished(summary); return(summary); }
public TestCaseSummary RunTests(IEnumerable <string> testPaths, TestOptions options, ITestMethodRunnerCallback callback = null, TestContext testContext = null) { callback = options.TestLaunchMode == TestLaunchMode.FullBrowser || callback == null ? RunnerCallback.Empty : callback; callback.TestSuiteStarted(testContext); var testCaseSummary = ProcessTestPaths(testPaths, options, TestExecutionMode.Execution, callback); callback.TestSuiteFinished(testContext, testCaseSummary); return(testCaseSummary); }
public TestCaseSummary RunTests(IEnumerable<string> testPaths, TestOptions options, ITestMethodRunnerCallback callback = null) { callback = options.TestLaunchMode == TestLaunchMode.FullBrowser || callback == null ? RunnerCallback.Empty : callback; callback.TestSuiteStarted(); var summary = ProcessTestPaths(testPaths, options, TestExecutionMode.Execution, callback); callback.TestSuiteFinished(summary); return summary; }