catch2/tests/SelfTest/IntrospectiveTests
Martin Hořeňovský 4565b826cf
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-26 11:35:06 +02:00
..
CmdLine.tests.cpp Add more tests for test spec parser 2020-05-02 18:24:07 +02:00
Details.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
GeneratorsImpl.tests.cpp Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr 2020-05-31 15:20:24 +02:00
InternalBenchmark.tests.cpp Make warnings in assertions fire for GCC/Clang again 2020-04-29 21:27:57 +02:00
PartTracker.tests.cpp Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-26 11:35:06 +02:00
RandomNumberGeneration.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
String.tests.cpp Add op+(StringRef, StringRef) -> std::string 2020-05-31 22:30:41 +02:00
StringManip.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Tag.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
ToString.tests.cpp Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr 2020-05-31 15:20:24 +02:00
UniquePtr.tests.cpp Implement a simplified variant of std::unique_ptr<T> 2020-05-31 15:08:47 +02:00
Xml.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00