Example #1
0
            public void RunningAllTestsFillsTestResultsList()
            {
                string validAssemblyPath = GetMoyaDummyTestProjectDllPath();
                TestFileExecuter testFileExecuter = new TestFileExecuter(validAssemblyPath);

                List<ITestResult> testResults = testFileExecuter.RunAllTests();

                Assert.NotEmpty(testResults);
            }
Example #2
0
 private void RunTestsForSpecifiedAssemblies()
 {
     foreach (var assemblyFilePath in _argumentParser.CommandLineOptions.AssemblyFilePaths)
     {
         string             normalizedPath   = NormalizePath(assemblyFilePath);
         TestFileExecuter   testFileExecuter = new TestFileExecuter(normalizedPath);
         List <ITestResult> testResults      = testFileExecuter.RunAllTests();
         PrintTestResults(testResults);
     }
 }
Example #3
0
 private void RunTestsForSpecifiedAssemblies()
 {
     foreach (var assemblyFilePath in _argumentParser.CommandLineOptions.AssemblyFilePaths)
     {
         string normalizedPath = NormalizePath(assemblyFilePath);
         TestFileExecuter testFileExecuter = new TestFileExecuter(normalizedPath);
         List<ITestResult> testResults = testFileExecuter.RunAllTests();
         PrintTestResults(testResults);
     }
 }