catch2/tests/SelfTest/Baselines
Philip Salzmann d548be26e3
Add new SKIP macro for skipping tests at runtime (#2360)
* Add new SKIP macro for skipping tests at runtime

This adds a new `SKIP` macro for dynamically skipping tests at runtime.
The "skipped" status of a test case is treated as a first-class citizen,
like "succeeded" or "failed", and is reported with a new color on the
console.

* Don't show "skipped assertions" in console/compact reporters

Also extend skip tests to cover a few more use cases.

* Return exit code 4 if all test cases are skipped

* Use LightGrey for the skip colour

This isn't great, but is better than the deep blue that was borderline
invisible on dark backgrounds. The fix is to redo the colouring
a bit, including introducing light-blue that is actually visible.

* Add support for explicit skips in all reporters

* --allow-running-no-tests also allows all tests to be skipped

* Add docs for SKIP macro, deprecate IEventListener::skipTest

Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
2023-01-12 15:01:47 +01:00
..
automake.std.approved.txt Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
automake.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
automake.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
compact.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
compact.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
console.std.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
console.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
console.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
console.swa4.approved.txt Change reporters to report filters in round-trippable format 2022-10-27 20:46:59 +02:00
default.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
junit.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
junit.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
sonarqube.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
sonarqube.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
tap.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
tap.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
teamcity.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
teamcity.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
xml.sw.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00
xml.sw.multi.approved.txt Add new SKIP macro for skipping tests at runtime (#2360) 2023-01-12 15:01:47 +01:00