mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-29 08:31:05 +02:00
Updated Command line (markdown)
@@ -77,9 +77,15 @@ Examples:
|
|||||||
-l xml
|
-l xml
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
## Sending output to a file
|
## Sending output to a file or stream
|
||||||
<pre>
|
<pre>
|
||||||
-o, --out <filename>
|
-o, --out <filename> | <%streamname>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Use this option to send all output to a file. Without the option output is sent to stdout (note that uses of stdout and stderr *from within test cases* are redirected and included in the report - so even stderr will effectively end up on stdout).
|
Use this option to send all output to a file or a stream. By default output is sent to stdout (note that uses of stdout and stderr *from within test cases* are redirected and included in the report - so even stderr will effectively end up on stdout). If the name begins with % it is interpretted as a stream. Otherwise it is treated as a filename.
|
||||||
|
|
||||||
|
Recognised stream names are:
|
||||||
|
|
||||||
|
* %stdout
|
||||||
|
* %stderr
|
||||||
|
* %debug (The IDE's debug output window - currently only Windows' OutputDebugString is supported).
|
Reference in New Issue
Block a user