catch2/projects
Martin Hořeňovský b79a83e4aa
Modify generator tracking to allow GENERATEs between SECTIONs
This means that code such as

```cpp
TEST_CASE() {
    SECTION("first") { SUCCEED(); }
    auto _ = GENERATE(1, 2);
    SECTION("second") { SUCCEED(); }
}
```

will run and report 3 assertions, 1 from section "first" and 2
from section "second". This also applies for greater and potentially
more confusing nesting, but fundamentally it is up to the user to
avoid overly complex and confusing nestings, just as with `SECTION`s.

The old behaviour of `GENERATE` as first thing in a `TEST_CASE`,
`GENERATE` not followed by a `SECTION`, etc etc should be unchanged.

Closes #1938
2020-07-11 23:16:07 +02:00
..
ExtraTests Increase tolerances in --min-duration tests 2020-07-07 11:36:56 +02:00
SelfTest Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-11 23:16:07 +02:00
TestScripts Fix how testRandomOrder.py builds tag arguments 2020-07-11 21:32:10 +02:00
XCode/OCTest Fix typos identified by codespell. 2019-04-10 09:42:11 +02:00
CMakeLists.txt Refactor tests for duration reporting threshold 2020-07-06 20:02:20 +02:00