Пример #1
0
        public override void EndTest(TestCase testCase, TestCaseResult result)
        {
            if (result.HasSkipped())
            {
                Console.WriteLine("SKIPPED: {0}", testCase.Name);
            }
            else if (result.HasPassed())
            {
                Console.WriteLine("PASSED: {0}", testCase.Name);
            }
#if false
            else if (result.HasWarnings())
            {
                Console.WriteLine("PASSED with warnings: {0}", testCase.Name);
            }
#endif
            else
            {
                Console.WriteLine("***FAILED: {0}", testCase.Name);
            }
        }