Progmasoft Git

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

Remove mention of `ANON_TEST_CASE` from documentation

It was removed from v3, because the standard `TEST_CASE` can now be
anonymous as well.
Commit
35cba5486d47adcc8978eefcf7e4a66d4834b5f0
Author
Martin Hořeňovský ·
Parents
eb911aa995d8

Files · Download .tar.gz

Changes

 docs/other-macros.md | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/docs/other-macros.md b/docs/other-macros.md
index f23ee6c2..5e7f0af0 100644
--- a/docs/other-macros.md
+++ b/docs/other-macros.md
@@ -119,21 +119,6 @@ is initiated. This means that it either needs to be done in a global
 constructor, or before Catch2's session is created in user's own main._
 
 
-* `ANON_TEST_CASE`
-
-`ANON_TEST_CASE` is a `TEST_CASE` replacement that will autogenerate
-unique name. The advantage of this is that you do not have to think
-of a name for the test case,`the disadvantage is that the name doesn't
-necessarily remain stable across different links, and thus it might be
-hard to run directly.
-
-Example:
-```cpp
-ANON_TEST_CASE() {
-    SUCCEED("Hello from anonymous test case");
-}
-```
-
 * `DYNAMIC_SECTION`
 
 > Introduced in Catch2 2.3.0.