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

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

            if (result.ResultState.Status == TestStatus.Failed || result.ResultState.Status == TestStatus.Warning)
            {
                _textUI.DisplayErrorsFailuresAndWarningsReport(result);
            }

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

            _textUI.DisplayRunSettings();

            _textUI.DisplaySummaryReport(Summary);
        }
Example #2
0
        public void ReportResults(ITestResult result)
        {
            Summary = new ResultSummary(result);

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

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

                #if FULL
            if (_options.Full)
            {
                _textUI.PrintFullReport(_result);
            }
                #endif
            if (TSettings.GetInstance().IsManual == false)
            {
                _textUI.DisplayRunSettings();

                _textUI.DisplaySummaryReport(Summary);
            }
        }