mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-01 09:31:11 +02:00
Created Command line (markdown)
10
Command-line.md
Normal file
10
Command-line.md
Normal file
@@ -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:
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
-t "example/first test"
|
||||||
|
-t example/stupid example/silly
|
||||||
|
-t example/group/*
|
||||||
|
</pre>
|
Reference in New Issue
Block a user