catch2/projects/SelfTest/IntrospectiveTests
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
..
CmdLine.tests.cpp Add more tests for test spec parser 2020-04-17 21:19:18 +02:00
Details.tests.cpp Remove the new tests from approvals 2019-08-09 11:13:28 +02:00
GeneratorsImpl.tests.cpp Fix forwarding in SingleValueGenerator and generator creation 2019-12-15 20:50:43 +01:00
InternalBenchmark.tests.cpp Various improvements to the benchmarking support 2019-06-06 21:28:56 +02:00
PartTracker.tests.cpp Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-11 23:16:07 +02:00
RandomNumberGeneration.tests.cpp Introduce Catch's own RNG based on the PCG family of RNGs 2019-10-07 19:56:23 +02:00
String.tests.cpp Cleanup tests for C++20 2019-11-04 10:42:34 +01:00
StringManip.tests.cpp Split out the rest of string manipulation tests 2019-09-07 20:22:36 +02:00
Tag.tests.cpp Make hidden tags behave identically (#1847) 2020-01-31 21:44:06 +01:00
ToString.tests.cpp Use StringRefs through the enum registration 2019-09-08 14:14:46 +02:00
Xml.tests.cpp Cleanup tests for C++20 2019-11-04 10:42:34 +01:00