catch2/projects/SelfTest
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
..
Baselines Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-11 23:16:07 +02:00
CompileTimePerfTests Added files for multiply inclusions of test cases 2017-11-17 15:46:57 +00:00
IntrospectiveTests Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-11 23:16:07 +02:00
Misc Add more tests for reading test specs from file 2019-10-20 15:14:50 +02:00
SurrogateCpps Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
TimingTests Increase tolerances in --min-duration tests 2020-07-07 11:36:56 +02:00
UsageTests Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-11 23:16:07 +02:00
TestMain.cpp Add SonarQube Generic Test Data reporter 2019-10-27 10:02:41 +01:00
WarnAboutNoTests.cmake Improve reporting of unmatched filters (#1684) 2019-08-06 20:51:19 +02:00