mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Link to the randomized-shard-registration script from usage tips
This commit is contained in:
parent
9bb206fc61
commit
33e70194d3
@ -7,6 +7,7 @@
|
|||||||
[Why cannot I derive from the built-in reporters?](#why-cannot-i-derive-from-the-built-in-reporters)<br>
|
[Why cannot I derive from the built-in reporters?](#why-cannot-i-derive-from-the-built-in-reporters)<br>
|
||||||
[What is Catch2's ABI stability policy?](#what-is-catch2s-abi-stability-policy)<br>
|
[What is Catch2's ABI stability policy?](#what-is-catch2s-abi-stability-policy)<br>
|
||||||
[What is Catch2's API stability policy?](#what-is-catch2s-api-stability-policy)<br>
|
[What is Catch2's API stability policy?](#what-is-catch2s-api-stability-policy)<br>
|
||||||
|
[Does Catch2 support running tests in parallel?](#does-catch2-support-running-tests-in-parallel)<br>
|
||||||
|
|
||||||
## How do I run global setup/teardown only if tests will be run?
|
## How do I run global setup/teardown only if tests will be run?
|
||||||
|
|
||||||
|
@ -73,6 +73,11 @@ seed, e.g.
|
|||||||
./tests --order rand --shard-index 2 --shard-count 3 --rng-seed 0xBEEF
|
./tests --order rand --shard-index 2 --shard-count 3 --rng-seed 0xBEEF
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Catch2 actually provides a helper to automatically register multiple shards
|
||||||
|
as CTest tests, with shared random seed that changes each CTest invocation.
|
||||||
|
For details look at the documentation of
|
||||||
|
[`CatchShardTests.cmake` CMake script](cmake-integration.md#catchshardtestscmake).
|
||||||
|
|
||||||
|
|
||||||
## Organizing tests into binaries
|
## Organizing tests into binaries
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user