public void TestSuiteStarted(TestContext context)
 {
     lock (sync)
     {
         nestedCallback.TestSuiteStarted(context);
     }
 }
Ejemplo n.º 2
0
 public void TestSuiteStarted()
 {
     lock (sync)
     {
         nestedCallback.TestSuiteStarted();
     }
 }
Ejemplo n.º 3
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);
        }
Ejemplo n.º 4
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);
        }
Ejemplo n.º 5
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;
        }