Add --warn InfiniteGenerators

This commit is contained in:
Martin Hořeňovský committed 2026-02-10 09:37:19 +01:00
1 parent d079ee13ab
commit daadf42a0e
18 files changed
+93 -23

No files matched your search

+3
View File
@@ -358,10 +358,13 @@ There are currently two warnings implemented:
// (e.g. `REQUIRE`) is encountered.
UnmatchedTestSpec // Fail test run if any of the CLI test specs did
// not match any tests.
InfiniteGenerators // Fail if GENERATE would run infinitely
```
> `UnmatchedTestSpec` was introduced in Catch2 3.0.1.
> `InfiniteGenerators` was introduced in Catch2 vX.Y.Z
<a id="reporting-timings"></a>
## Reporting timings