mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Document CATCH_CONFIG_DEFAULT_REPORTER macro
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský