catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Link to the randomized-shard-registration script from usage tips
- Commit
33e70194d32b8eb487b2f882b94353e0aed662cf- Author
- Martin Hořeňovský ·
- Parents
9bb206fc6144
Changes
docs/faq.md | 1 + docs/usage-tips.md | 5 +++++ 2 files changed, 6 insertions(+) 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