Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit ad09f667e6.


Parameter random instructs the Unit Test Framework to execute the test cases in random order. This parameter accepts an optional unsigned integer argument for the seed of the random generator:

[Tip] Tip

in case --random is specified, the value of the seed is logged using BOOST_TEST_MESSAGE, so that it is possible to replay exactly the same sequence of unit test in case of failure. For the seed to be visible in the logs, make sure the proper --log_level is set.

Acceptable values
Command line syntax
Environment variable