public void TestSuiteStarted(TestContext context) { lock (sync) { nestedCallback.TestSuiteStarted(context); } }
public void TestSuiteStarted() { lock (sync) { nestedCallback.TestSuiteStarted(); } }
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; }