Document CATCH_CONFIG_DEFAULT_REPORTER macro

This commit is contained in:
Martin Hořeňovský 2018-02-11 18:10:28 +01:00
parent 34d7a33574
commit 31673ee0ca

View File

@ -8,6 +8,7 @@
[Console width](#console-width)<br> [Console width](#console-width)<br>
[stdout](#stdout)<br> [stdout](#stdout)<br>
[Fallback stringifier](#fallback-stringifier)<br> [Fallback stringifier](#fallback-stringifier)<br>
[Default reporter](#default-reporter)<br>
[Other toggles](#other-toggles)<br> [Other toggles](#other-toggles)<br>
[Windows header clutter](#windows-header-clutter)<br> [Windows header clutter](#windows-header-clutter)<br>
[Enabling stringification](#enabling-stringification)<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._ 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 ## Other toggles
CATCH_CONFIG_COUNTER // Use __COUNTER__ to generate unique names for test cases CATCH_CONFIG_COUNTER // Use __COUNTER__ to generate unique names for test cases