mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
Add a note about when logging macros don't work
This commit is contained in:
parent
250f0ee7fb
commit
1430b3be09
@ -2,6 +2,8 @@
|
||||
|
||||
Additional messages can be logged during a test case.
|
||||
|
||||
Note that these macros do not log anything unless they are *directly* inside a catch test scope macro (i.e. TEST_CASE, SECTION, GIVEN/WHEN/THEN/...). In particular they cannot be used inside loops or ```if``` statements.
|
||||
|
||||
## Streaming macros
|
||||
|
||||
All these macros allow heterogenous sequences of values to be streaming using the insertion operator (```<<```) in the same way that std::ostream, std::cout, etc support it.
|
||||
|
Loading…
Reference in New Issue
Block a user