2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-27 07:22:11 +00:00
Files
test/doc/v2/testing_tools/testing_tools.qbk
2014-11-24 04:09:55 -05:00

18 lines
1.1 KiB
Plaintext

[section:testing_tools Testing tools]
The __UTF__'s supplies a toolbox of testing tools to ease creation and maintenance of test programs and
provide a uniform error reporting mechanism. The toolbox supplied in most part in a form of macro and function
declarations. While the functions can be called directly, the usual way to use testing tools is via convenience
macros. All macros arguments are calculated once, so it's safe to pass complex expressions in their place.
All tools automatically supply an error location: a file name and a line number. The testing tools are intended
for unit test code rather than library or production code, where throwing exceptions, using `assert()`,
`boost::concept_check` or `BOOST_STATIC_ASSERT()` may be more suitable
ways to detect and report errors. For list of all supplied testing tools and usage examples see the reference.
[include assertions_severity_levels.qbk]
[include custom_predicates.qbk]
[include testing_output_streams.qbk]
[include testing_floating_points.qbk]
[include testing_tools_reference.qbk]
[endsect] [/ testing tools]