From f5aa12c5de4c81a773014ebbb48b6ccef754c0e5 Mon Sep 17 00:00:00 2001 From: philsquared Date: Thu, 30 Dec 2010 09:05:06 -0800 Subject: [PATCH] Added -l Updated Command line (markdown) --- Command-line.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Command-line.md b/Command-line.md index 7867a9d..218fc6f 100644 --- a/Command-line.md +++ b/Command-line.md @@ -51,4 +51,23 @@ In addition to the command line option, ensure you have built your code with the 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. \ No newline at end of file +To see successul, as well as failing, test results just pass this option. + +## Listing available tests or reporters +
+-l, --list [test|reporter] [xml]
+
+ +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: +
+-l
+-l test
+-l reporter xml
+-l xml
+
\ No newline at end of file