Ejemplo n.º 1
0
            public void RunningAllTestsFillsTestResultsList()
            {
                string validAssemblyPath = GetMoyaDummyTestProjectDllPath();
                TestFileExecuter testFileExecuter = new TestFileExecuter(validAssemblyPath);

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

                Assert.NotEmpty(testResults);
            }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }