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

Document CATCH_CONFIG_DEFAULT_REPORTER macro

Commit
31673ee0ca7d8e6ab7a11d37637af1733ef1de50
Author
Martin Hořeňovský ·
Parents
34d7a3357435

Files · Download .tar.gz

Changes

 docs/configuration.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/configuration.md b/docs/configuration.md
index b024b2fd..1d5255e9 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -8,6 +8,7 @@
 [Console width](#console-width)<br>
 [stdout](#stdout)<br>
 [Fallback stringifier](#fallback-stringifier)<br>
+[Default reporter](#default-reporter)<br>
 [Other toggles](#other-toggles)<br>
 [Windows header clutter](#windows-header-clutter)<br>
 [Enabling stringification](#enabling-stringification)<br>
@@ -88,6 +89,16 @@ _Note that if the provided function does not handle a type and this type
 requires to be stringified, the compilation will fail._
 
 
+## Default reporter
+
+Catch's default reporter can be changed by defining macro
+`CATCH_CONFIG_DEFAULT_REPORTER` to string literal naming the desired
+default reporter.
+
+This means that defining `CATCH_CONFIG_DEFAULT_REPORTER` to `"console"`
+is equivalent with the out-of-the-box experience.
+
+
 ## Other toggles
 
     CATCH_CONFIG_COUNTER                    // Use __COUNTER__ to generate unique names for test cases