catch2/tests/SelfTest
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
..
Baselines Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-26 11:35:06 +02:00
CompileTimePerfTests Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
IntrospectiveTests Modify generator tracking to allow GENERATEs between SECTIONs 2020-07-26 11:35:06 +02:00
Misc Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
TimingTests Increase tolerances in --min-duration tests 2020-07-26 10:48:03 +02:00
UsageTests Add explicit test for shortcircuiting behaviour of combined matchers 2020-07-22 21:36:14 +02:00
TestRegistrations.cpp Remove catch_default_main.hpp 2020-05-09 18:00:49 +02:00
WarnAboutNoTests.cmake Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00