public RunTest ( string testPath ) : System.Test | ||
testPath | string | |
Résultat | System.Test |
private bool ExecuteTest(string projectFile, string testName) { ProjectTestRunner runner = new ProjectTestRunner(projectFile); try { Test result = runner.RunTest(testName); return result.WasSuccessful(); } catch (Exception e) { // EXHANDLED: Console.WriteLine(e); runner.Dispose(); } return false; }