static void Main(string[] args) { NUnitTestRunner runner = new NUnitTestRunner(); TestRun testRun = runner.Perform("SampleLib.Tests.dll"); List <TestCase> testCases = runner.GetTestCaseList(testRun); Console.ReadLine(); }
static void Main(string[] args) { NUnitTestRunner runner = new NUnitTestRunner(); TestRun testRun = runner.Perform("ActionLib.Tests.dll"); List <TestCase> testCases = runner.GetTestCaseList(testRun); foreach (TestCase testCase in testCases) { Console.WriteLine("{0}: {1}", testCase.Name, testCase.Result); } Console.ReadLine(); }