public void CheckRunTestOnOneTest() { var infoArray = myNUnit.ExecuteTests(AssemblyGetter.GetPath(path + @"\OneTest\OneTest\OneTest.exe")); Assert.AreEqual(1, infoArray.Length); CheckInfo("OneTest", "Func", "Passed", null, infoArray[0]); }
static void Main(string[] args) { var testsRunner = new TestsRunner(); var array = testsRunner.ExecuteTests(AssemblyGetter.GetPath(args[0])); Printer.PrintResults(array); }