Add --warn InfiniteGenerators

This commit is contained in:
Martin Hořeňovský
2026-02-10 09:37:19 +01:00
parent d079ee13ab
commit daadf42a0e
18 changed files with 93 additions and 23 deletions
+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