You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manual.markdown
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,22 +222,22 @@ The test execution of this will *likely* (no guarantee of order in CppUTest) be:
222
222
223
223
## Command line Switches
224
224
225
-
**-v* verbose, print each test name as it runs
226
225
**-c* colorize output, print green if OK, or red if failed
227
-
**-r#* repeat the tests some number (#) of times, or twice if # is not specified. This is handy if you are experiencing memory leaks. A second run that has no leaks indicates that someone is allocating statics and not releasing them.
228
226
**-g group* only run test whose group contains the substring *group*
229
-
**-sg group* only run test whose group exactly matches the string *group*
230
-
**-xg group* exclude tests whose group contains the substring *group*
231
-
**-n name* only run test whose name contains the substring *name*
232
-
**-sn name* only run test whose name exactly matches the string *name*
233
-
**-xn name* exclude tests whose name contains the substring *name*
234
-
**"TEST(group, name)"* only run test whose group and name matches the strings group and name. This can be used to copy-paste output from the -v option on the command line.
235
-
**-ojunit* output to JUnit ant plugin style xml files (for CI systems)
236
-
**-oteamcity* output to xml files (as the name suggests, for TeamCity)
237
227
**-k* package name, Add a package name in JUnit output (for classification in CI systems)
238
228
**-lg* print a list of group names, separated by spaces
239
229
**-ln* print a list of test names in the form of *group.name*, separated by spaces
230
+
**-n name* only run test whose name contains the substring *name*
231
+
**-ojunit* output to JUnit ant plugin style xml files (for CI systems)
232
+
**-oteamcity* output to xml files (as the name suggests, for TeamCity)
240
233
**-p* run tests in a separate process.
234
+
**-r#* repeat the tests some number (#) of times, or twice if # is not specified. This is handy if you are experiencing memory leaks. A second run that has no leaks indicates that someone is allocating statics and not releasing them.
235
+
**-sg group* only run test whose group exactly matches the string *group*
236
+
**-sn name* only run test whose name exactly matches the string *name*
237
+
**-v* verbose, print each test name as it runs
238
+
**-xg group* exclude tests whose group contains the substring *group*
239
+
**-xn name* exclude tests whose name contains the substring *name*
240
+
**"TEST(group, name)"* only run test whose group and name matches the strings group and name. This can be used to copy-paste output from the -v option on the command line.
241
241
242
242
You can specify multiple -s|sg, -s|sn and "TEST(group, name)" parameters:
0 commit comments