...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Provides parameters for testing output streams. See output test stream section for details on these tests.
This parameter serves no particular purpose within the framework itself.
It can be used by test modules relying on boost::test_tools::output_test_stream
to implement testing logic. output_test_stream
has two modes of operation:
You can use this parameter to switch between these modes, by passing the
parameter value to the output_test_stream
constructor. The value of the command line parameter is available from
the code like this:
bool is_save_pattern_flag_set = boost::unit_test::runtime_config::save_pattern();
Equivalent to yes when called without any argument.
BOOST_TEST_SAVE_PATTERN