Inheritance: ITestRunner
        protected override void PrepareRunner()
        {
            var msTestRunner = new MSTestRunner(TestSuiteRunnerFileInfo, TestContainerFileInfo, null);

            msTestRunner.Categories    = CategoriesArray;
            msTestRunner.Configuration = Configuration == null ?
                                         TestRunner.TestConfiguration.Release :
                                         (TestRunner.TestConfiguration)Enum.Parse(typeof(TestRunner.TestConfiguration), Configuration.ItemSpec);
            Runner = msTestRunner;
        }
Exemplo n.º 2
0
        protected override void PrepareRunner()
        {
            var msTestRunner = new MSTestRunner(TestSuiteRunnerFileInfo, TestContainerFileInfo, null);

            msTestRunner.Categories       = CategoriesArray;
            msTestRunner.ResultsOutputDir = ResultsOutputDir == null ?
                                            null :
                                            new DirectoryInfo(ResultsOutputDir.ItemSpec);
            Runner = msTestRunner;
        }