![]() |
Home | Libraries | People | FAQ | More |
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:
0
), the
test cases are executed in some specific order defined by the order
of test units in the test files, and the dependencies between test
units.
1
, the testing order is
randomized based on current time.
1
will be used as random seed for the run.
![]() |
Tip |
---|---|
in case |
1
: random seed based on
the current time
value
> 1
: seed for the random number generator
--random=<seed>
BOOST_TEST_RANDOM