|> The Unit Test Framework > User's guide > Test Output >|
The output produced by a test module is one of the major assets the UTF brings to users. In comparison with any kind of manual/assert based solution the UTF provide following services:
All test errors are reported uniformly
The test execution monitor along with standardized output from all included testing tools provides uniform reporting for all errors including fatal errors, like memory assess violation and uncaught exceptions.
Detailed information on the source of an error
The UTF test tool's based assertion provides as much information as possible about cause of error, usually allowing you to deduce what is wrong without entering the debugger or core analysis.
Separation of the test errors description (test log) from the results report summary (test results report)
The information produced during test execution, including all error, warning and info messages from the test tools, executed test units notification constitute the test log. By default all entries in the test log are directed to the standard output. Once testing is completed the UTF may produce a summary test report with different levels of detail. The test report is by default directed to the standard error output.
Flexibility in what is shown in the output
The UTF provides the ability to configure what if shown in both the test log and the test report. The configuration is supported both at runtime, during test module invocation and at compile time from within a test module.
Flexibility in how output is formatted
The UTF provides the ability to configure the format of the test module output. At the moment only 2 formats are supported by the UTF itself, the well defined public interface allows you to customize an output for your purposes almost any way you want.