mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Link to the randomized-shard-registration script from usage tips
This commit is contained in:
		| @@ -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? | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský