catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Add 'Introduced in Catch 2.4.2.' text
- Commit
49cd7c96b406bf46e9e3bd4e3d3f9b4b015a189f- Author
- Clare Macrae ·
- Committer
- Martin Hořeňovský
- Parents
e998d152cc7a
Changes
docs/other-macros.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/other-macros.md b/docs/other-macros.md index 345234d5..ddefac8c 100644 --- a/docs/other-macros.md +++ b/docs/other-macros.md @@ -59,6 +59,8 @@ TEST_CASE( "SUCCEED showcase" ) { * `STATIC_REQUIRE` +> [Introduced](https://github.com/catchorg/Catch2/issues/1362) in Catch 2.4.2. + `STATIC_REQUIRE( expr )` is a macro that can be used the same way as a `static_assert`, but also registers the success with Catch2, so it is reported as a success at runtime. The whole check can also be deferred