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

Parameter random instructs the Unit Test Framework to execute the test cases in random order. This parameter accepts optional unsigned integer argument. By default test cases are executed in some specific order defined by order of test units in test files and dependency between test units. If parameter is specified without the argument value testing order is randomized based on current time. Alternatively you can specify any positive value greater than 1 and it will be used as random seed for the run.

Acceptable values
Command line syntax
Environment variable
BOOST_TEST_RANDOM

PrevUpHomeNext