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
Added ANON_TEST_CASE() macro
- Commit
dd7f13ccbb08a1161ac915f10019b485faf2abc8- Author
- Phil Nash ·
- Parents
9ca0988e0f59
Changes
catch.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/catch.hpp b/catch.hpp index 10056ee3..34b57b8e 100644 --- a/catch.hpp +++ b/catch.hpp @@ -52,6 +52,7 @@ #define SECTION( name, description ) CATCH_SECTION( name, description ) #define TEST_CASE( name, description ) INTERNAL_CATCH_TESTCASE( name, description ) +#define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE( "anon", "Anonymous test case" ) #define METHOD_AS_TEST_CASE( method, name, description ) CATCH_METHOD_AS_TEST_CASE( method, name, description ) #define REGISTER_REPORTER( name, reporterType ) CATCH_REGISTER_REPORTER( name, reporterType )