Link to the randomized-shard-registration script from usage tips

This commit is contained in:
Martin Hořeňovský
2022-08-18 00:14:07 +02:00
parent 9bb206fc61
commit 33e70194d3
2 changed files with 6 additions and 0 deletions

View File

@@ -73,6 +73,11 @@ seed, e.g.
./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