mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-30 00:51:06 +02:00
Added -l
Updated Command line (markdown)
@@ -51,4 +51,23 @@ In addition to the command line option, ensure you have built your code with the
|
||||
</pre>
|
||||
|
||||
Usually you only want to see reporting for failed tests. Sometimes it's useful to see *all* the output (especially when you don't trust that that test you just added worked first time!).
|
||||
To see successul, as well as failing, test results just pass this option.
|
||||
To see successul, as well as failing, test results just pass this option.
|
||||
|
||||
## Listing available tests or reporters
|
||||
<pre>
|
||||
-l, --list [test|reporter] [xml]
|
||||
</pre>
|
||||
|
||||
With no arguments this option will list all registered tests and reporters using a standard line based listing format.
|
||||
|
||||
Supplying the *xml* argument formats the list as an xml document (which may be useful for consumption by other tools).
|
||||
|
||||
Supplying the *test* or *reporter* arguments narrow the list to tests or reporters respectively.
|
||||
|
||||
Examples:
|
||||
<pre>
|
||||
-l
|
||||
-l test
|
||||
-l reporter xml
|
||||
-l xml
|
||||
</pre>
|
Reference in New Issue
Block a user