Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-08-18 00:14:07 +0200
committerMartin Hořeňovský2022-08-18 00:14:07 +0200
commit33e70194d32b8eb487b2f882b94353e0aed662cf (patch)
tree3bd2cc198b956686cabd6e2bb4279fe43bdf19a2
parent9bb206fc61446ce3e44cb04d44d5f4903ad388ff (diff)
downloadcatch3-33e70194d32b8eb487b2f882b94353e0aed662cf.tar.gz
Link to the randomized-shard-registration script from usage tips
-rw-r--r--docs/faq.md1
-rw-r--r--docs/usage-tips.md5
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/faq.md b/docs/faq.md
index e57e5001..81d8be68 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -7,6 +7,7 @@
[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 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?
diff --git a/docs/usage-tips.md b/docs/usage-tips.md
index d62dedbe..8e5c3df1 100644
--- a/docs/usage-tips.md
+++ b/docs/usage-tips.md
@@ -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