Example #1
0
        public void ReportResults(ITestResult result)
        {
            Summary = new ResultSummary(result);

            _textUI.DisplaySummaryReport(Summary);

            if (result.ResultState.Status == TestStatus.Failed)
            {
                _textUI.DisplayErrorsAndFailuresReport(result);
            }

            if (Summary.SkipCount + Summary.IgnoreCount > 0)
            {
                _textUI.DisplayNotRunReport(result);
            }

#if FULL
            if (_options.Full)
            {
                _textUI.PrintFullReport(_result);
            }
#endif
        }