public void TestSuiteFinished(TestContext context, TestCaseSummary testResultsSummary)
 {
     lock (sync)
     {
         nestedCallback.TestSuiteFinished(context, testResultsSummary);
     }
 }
示例#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);
        }
示例#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);
        }
示例#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;
        }