예제 #1
0
        private bool RunTests(TestOptions options, IFrontController frontController, IServiceProvider services)
        {
            var visitor = new ExecutionVisitor((services.GetService(typeof(ITestSinkFactory)) as ITestSinkFactory)?.CreateExecutionSink(services) ?? new DefaultTestExecutionSink());

            frontController.RunAll(visitor, options, options);
            visitor.Finished.WaitOne();
            return(!visitor.HasFailures);
        }