Boost C++ Libraries

...one 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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

random

Runs the tests in random order.

Positive value makes the framework to run the test cases in random order. Also if this value is greater than 1, it is used as a random seed. In other case random seed is generated based on current time.

[Caution] Caution

If computed from time, the seed is not outputted to the report

Acceptable values
Environment variable
BOOST_TEST_RANDOM

PrevUpHomeNext