mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-23 13:56:11 +01:00
d548be26e3
* 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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ToDo.txt | ||
X01-PrefixedMacros.cpp | ||
X02-DisabledMacros.cpp | ||
X03-DisabledExceptions-DefaultHandler.cpp | ||
X04-DisabledExceptions-CustomHandler.cpp | ||
X05-DeferredStaticChecks.cpp | ||
X10-FallbackStringifier.cpp | ||
X11-DisableStringification.cpp | ||
X12-CustomDebugBreakMacro.cpp | ||
X21-PartialTestCaseEvents.cpp | ||
X22-BenchmarksInCumulativeReporter.cpp | ||
X23-CasingInReporterNames.cpp | ||
X24-ListenerStdoutCaptureInMultireporter.cpp | ||
X25-ListenerCanAskForCapturedStdout.cpp | ||
X26-ReporterPreferencesForPassingAssertionsIsRespected.cpp | ||
X27-CapturedStdoutInTestCaseEvents.cpp | ||
X28-ListenersGetEventsBeforeReporters.cpp | ||
X29-CustomArgumentsForReporters.cpp | ||
X30-BazelReporter.cpp | ||
X31-DuplicatedTestCases.cpp | ||
X32-DuplicatedTestCasesDifferentTags.cpp | ||
X33-DuplicatedTestCaseMethods.cpp | ||
X34-DuplicatedTestCaseMethodsDifferentFixtures.cpp | ||
X35-DuplicatedReporterNames.cpp | ||
X90-WindowsHeaderInclusion.cpp | ||
X91-AmalgamatedCatch.cpp | ||
X92-NoTests.cpp | ||
X93-AllSkipped.cpp |