Пример #1
0
        public static void Main(string[] args)
        {
            var options = new Options();
            if (!Parser.Default.ParseArguments(args, options))
                Console.WriteLine(options.GetUsage());

            ConfigureTypeMap();

            var testRunner = new TestRunner(new TestDiscoverer(options.Filter), new TestReporter());

            testRunner.Run();

            if (Debugger.IsAttached)
            {
                Console.WriteLine("Press any key to exit...");
                Console.ReadKey();
            }
        }
Пример #2
0
        public static void Main(string[] args)
        {
            var testRunner = new TestRunner(new TestDiscoverer(), new TestReporter());

            testRunner.Run();
        }