@@ -97,7 +97,7 @@ OK (2 tests, 2 assertions)</screen>
97
97
</para >
98
98
99
99
<screen ><userinput >phpunit --help</userinput >
100
- <![CDATA[ PHPUnit 3.7.0 by Sebastian Bergmann.
100
+ <![CDATA[ PHPUnit 3.7.13 by Sebastian Bergmann.
101
101
102
102
Usage: phpunit [switches] UnitTest [UnitTest.php]
103
103
phpunit [switches] <directory>
@@ -116,9 +116,12 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
116
116
--testdox-text <file> Write agile documentation in Text format to file.
117
117
118
118
--filter <pattern> Filter which tests to run.
119
+ --testsuite <pattern> Filter which testsuite to run.
119
120
--group ... Only runs tests from the specified group(s).
120
121
--exclude-group ... Exclude tests from the specified group(s).
121
122
--list-groups List available test groups.
123
+ --test-suffix ... Only search for test in files with specified
124
+ suffix(es). Default: Test.php,.phpt
122
125
123
126
--loader <loader> TestSuiteLoader implementation to use.
124
127
--printer <printer> TestSuiteListener implementation to use.
@@ -135,7 +138,7 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
135
138
--stop-on-incomplete Stop execution upon first incomplete test.
136
139
--strict Run tests in strict mode.
137
140
-v|--verbose Output more verbose information.
138
- --debug Display debbuging information during test execution.
141
+ --debug Display debugging information during test execution.
139
142
140
143
--process-isolation Run each test in a separate PHP process.
141
144
--no-globals-backup Do not backup and restore $GLOBALS for each test.
@@ -303,6 +306,15 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
303
306
</listitem >
304
307
</varlistentry >
305
308
309
+ <varlistentry >
310
+ <term ><literal >--testsuite</literal ></term >
311
+ <listitem >
312
+ <para >
313
+ Only runs the test suite whose name matches the given pattern.
314
+ </para >
315
+ </listitem >
316
+ </varlistentry >
317
+
306
318
<varlistentry >
307
319
<indexterm ><primary >Test Groups</primary ></indexterm >
308
320
<indexterm ><primary >Annotation</primary ></indexterm >
@@ -347,6 +359,15 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
347
359
</listitem >
348
360
</varlistentry >
349
361
362
+ <varlistentry >
363
+ <term ><literal >--test-suffix</literal ></term >
364
+ <listitem >
365
+ <para >
366
+ Only search for test files with specified suffix(es).
367
+ </para >
368
+ </listitem >
369
+ </varlistentry >
370
+
350
371
<varlistentry >
351
372
<indexterm ><primary >PHPUnit_Runner_TestSuiteLoader</primary ></indexterm >
352
373
<term ><literal >--loader</literal ></term >
0 commit comments