catch2/tests
Martin Hořeňovský 3f8cae8025
Add consistency-checking event listener to SelfTest
This event listener performs basic consistency checks (akin to
matching braces) on events that are passed to the listeners
when the `SelfTest` test binary is run.

The current checks are about nesting events (e.g. `testCaseStarting`
cannot be received before `testRunStarting`, `sectionStarting`
can only be received when a test case is active, etc), and matching
up counts of starting/ended events.

The simplicity means that it could be confused by starting/ended
events matching up but being out of order, e.g.
```
* test case A starting
* test case B ended
* test case B starting
* test case A ended
```
would be accepted, even though it is wrong. However, doing full
order checking would be much more implementation work, for relatively
little benefit, so it is left out for now.
2021-09-15 23:38:43 +02:00
..
ExtraTests Add new reporter event called for each test case enter/exit 2021-09-14 13:19:45 +02:00
SelfTest Add consistency-checking event listener to SelfTest 2021-09-15 23:38:43 +02:00
TestScripts Add new reporter event called for each test case enter/exit 2021-09-14 13:19:45 +02:00
CMakeLists.txt Add test for !shouldfail and failed benchmarks 2021-08-21 00:06:31 +02:00