test_output.qbk 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [/
  2. / Copyright (c) 2003 Boost.Test contributors
  3. /
  4. / Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. /]
  7. [section:test_output Controlling outputs]
  8. The output produced by a test module is one of the major assets the __UTF__ brings to users. In comparison with any
  9. kind of manual/assert based solution the __UTF__ provide following services:
  10. [variablelist
  11. [[All test errors are reported uniformly][
  12. The test execution monitor along with standardized output from all included
  13. [link boost_test.testing_tools testing tools] provides uniform reporting for all errors
  14. including fatal errors, like memory assess violation and uncaught exceptions.]]
  15. [[Detailed information on the source of an error][
  16. The __UTF__ test tool's based assertion provides as much information as possible about cause of error,
  17. usually allowing you to deduce what is wrong without entering the debugger or core analysis.]]
  18. [[Separation of the test errors description (test log) from the results report summary (test results report)][
  19. The information produced during test execution, including all error, warning and info messages from the test
  20. tools, executed test units notification constitute the *test log*.
  21. Once testing is completed the __UTF__ may produce a summary *test report* with
  22. different levels of detail.]]
  23. [[Flexibility in what is shown in the output][
  24. The __UTF__ provides the ability to configure what is shown in both the test log and the test report. The
  25. configuration is supported both at runtime (from the command line) and at compile time from within a
  26. test module.]]
  27. [[Flexibility in how output is formatted][
  28. The __UTF__ provides the ability to configure the format of the test module output. At the moment only
  29. [link boost_test.test_output.log_formats three formats]
  30. are supported by the __UTF__ itself. However the well defined public interface allows you to
  31. [link boost_test.test_output.logging_api.custom_log_formatter customize] an output for
  32. your purposes.]]
  33. ]
  34. [include test_tools_support.qbk]
  35. [include log_format.qbk]
  36. [include report_format.qbk]
  37. [include logger_api.qbk]
  38. [include progress_display.qbk]
  39. [include testout_summary.qbk]
  40. [endsect] [/test_output]