Example #1
0
        public static void Main(string[] args)
        {
            var testFinder   = new TestFinder(args);
            var testExecutor = new TestExecutor();
            var testReporter = new TestReporter();

            var allTests = testFinder.FindTests();

            foreach (var test in allTests)
            {
                TestResult result = testExecutor.ExecuteSafely(test);
                testReporter.Report(result);
            }

            Console.ReadLine();
        }
        public static void Main(string[] args)
        {
            var testFinder = new TestFinder(args);
            var testExecutor = new TestExecutor();
            var testReporter = new TestReporter();

            var allTests = testFinder.FindTests();
            foreach (var test in allTests)
            {
                TestResult result = testExecutor.ExecuteSafely(test);
                testReporter.Report(result);
            }

            Console.ReadLine();
        }