コード例 #1
0
            public void RunningAllTestsFillsTestResultsList()
            {
                string validAssemblyPath = GetMoyaDummyTestProjectDllPath();
                TestFileExecuter testFileExecuter = new TestFileExecuter(validAssemblyPath);

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

                Assert.NotEmpty(testResults);
            }
コード例 #2
0
ファイル: Startup.cs プロジェクト: Hammerstad/Moya
 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);
     }
 }
コード例 #3
0
ファイル: Startup.cs プロジェクト: Hammerstad/Moya
 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);
     }
 }