From 2f5924a012ced012c05c8bb0dc7d1aa549cede57 Mon Sep 17 00:00:00 2001 From: philsquared Date: Thu, 30 Dec 2010 01:01:48 -0800 Subject: [PATCH] Created Command line (markdown) --- Command-line.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Command-line.md diff --git a/Command-line.md b/Command-line.md new file mode 100644 index 0000000..b7747e1 --- /dev/null +++ b/Command-line.md @@ -0,0 +1,10 @@ +## Specifying which tests to run + +If you don't specify any tests on the command line then all registered tests are run. +Alternative use -t or --test to specify which tests to run. This option takes 1-n arguments, each of which specify a test case name or a pattern the matches any number of test case names. In general these are referred to as test specs. Quotes are optional for test specs, unless there are spaces, in which case they are required. Some examples: + +
+-t "example/first test"
+-t example/stupid example/silly
+-t example/group/*
+