catch2/tests/SelfTest/IntrospectiveTests
Martin Hořeňovský 0a3f511cfe
Fix inconsistencies in reporting benchmarking failures
With these changes, all these benchmarks
```cpp
BENCHMARK("Empty benchmark") {};
BENCHMARK("Throwing benchmark") {
    throw "just a plain literal, bleh";
};
BENCHMARK("Asserting benchmark") {
    REQUIRE(1 == 2);
};
BENCHMARK("FAIL'd benchmark") {
    FAIL("This benchmark only fails, nothing else");
};
```

report the respective failure and mark the outer `TEST_CASE` as
failed. Previously, the first two would not fail the `TEST_CASE`,
and the latter two would break xml reporter's formatting, because
`benchmarkFailed`, `benchmarkEnded` etc would not be be called
properly in failure cases.
2021-08-07 15:16:11 +02:00
..
Clara.tests.cpp Arg::parse accepts plain Args as argument 2020-11-07 18:00:27 +01: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
FloatingPoint.tests.cpp Fix ulp distance calculation for numbers with different signs 2021-07-27 21:04:41 +02:00
GeneratorsImpl.tests.cpp Fix types in generators: decay types, properly constrain forwarding 2020-10-20 10:57:37 +02:00
InternalBenchmark.tests.cpp Fix inconsistencies in reporting benchmarking failures 2021-08-07 15:16:11 +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
Reporters.tests.cpp --list-* flags write to target specified by the -o flag 2021-01-26 18:36:54 +01:00
String.tests.cpp Remove StringRef::isNullTerminated and StringRef::c_str 2021-03-26 21:11:44 +01:00
StringManip.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Tag.tests.cpp Use TestCaseInfo in tests directly 2021-06-01 00:17:19 +02:00
ToString.tests.cpp Cleanup and optimize stringifying of string-like types 2021-05-18 23:15:22 +02:00
UniquePtr.tests.cpp Sweep out Wshadow 2020-09-06 13:11:42 +02:00
Xml.tests.cpp Add explicit test for serialization of boolean attributes in XML 2021-05-31 08:41:28 +02:00