예제 #1
0
        public void Run(TestRunArguments arguments)
        {
            PrintVersion();

            try
            {
                var testResult = _testExecutor.Run(arguments.ExePath, arguments.Exercise);
                PrintTestResult(testResult);
            }
            catch (SwpTestToolException e)
            {
                _logger.Fatal(e.Message, e);
            }
            catch (Exception e)
            {
                _logger.Fatal("uncaught exception", e);
            }

            System.Console.ReadKey();
        }