mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-30 00:51:06 +02:00
Updated Command line (markdown)
@@ -1,14 +1,14 @@
|
|||||||
CATCH works quite nicely without any command line options at all - but for those times when you want greater control the following options are available.
|
CATCH works quite nicely without any command line options at all - but for those times when you want greater control the following options are available.
|
||||||
Note that options are described according to the following pattern:
|
Note that options are described according to the following pattern:
|
||||||
|
|
||||||
-<short option name>, --<longer alternative name> <arguments, if any - optional arguments enclosed in square brackets>
|
-*<short option name>*, --*<longer alternative name>* *<arguments, if any - optional arguments enclosed in square brackets>*
|
||||||
|
|
||||||
<description>
|
*<description>*
|
||||||
|
|
||||||
## Specifying which tests to run
|
## Specifying which tests to run
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
-t, --test <test-spec> [<test-spec> ...]
|
-t, --test *<test-spec>* [*<test-spec> ...*]
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
If you don't specify any tests on the command line then all registered tests are run.
|
If you don't specify any tests on the command line then all registered tests are run.
|
||||||
@@ -23,7 +23,7 @@ Alternatively use -t or --test to specify which tests to run. This option takes
|
|||||||
## Choosing a reporter to use
|
## Choosing a reporter to use
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
-r, --report <reporter>
|
-r, --report *<reporter>*
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
A reporter is an object that formats and structures the output of running tests, and potentially summarises the results. By default a basic reporter is used that writes IDE friendly results. CATCH comes bundled with some alternative reporters, but more can be added in client code.<br />
|
A reporter is an object that formats and structures the output of running tests, and potentially summarises the results. By default a basic reporter is used that writes IDE friendly results. CATCH comes bundled with some alternative reporters, but more can be added in client code.<br />
|
||||||
|
Reference in New Issue
Block a user