public void TestSuiteFinished(TestContext context, TestCaseSummary testResultsSummary)
 {
     lock (sync)
     {
         nestedCallback.TestSuiteFinished(context, testResultsSummary);
     }
 }
Example #2
0
        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);
        }
Example #3
0
        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);
        }
Example #4
0
        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;
        }