Updated Command line (markdown)

philsquared
2010-12-30 08:56:29 -08:00
parent 2a92fec18d
commit 6b1f900dc5

@@ -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.
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
<pre>
-t, --test &lt;test-spec> [&lt;test-spec> ...]
-t, --test *&lt;test-spec>* [*&lt;test-spec> ...*]
</pre>
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
<pre>
-r, --report &lt;reporter>
-r, --report *&lt;reporter>*
</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 />