Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            NUnitTestRunner runner = new NUnitTestRunner();

            TestRun         testRun   = runner.Perform("SampleLib.Tests.dll");
            List <TestCase> testCases = runner.GetTestCaseList(testRun);

            Console.ReadLine();
        }
Ejemplo n.º 2
0
        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();
        }