Skip to content

Commit a42db63

Browse files
committed
Sync f2783bb.
1 parent 2713eba commit a42db63

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

src/3.7/en/textui.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ OK (2 tests, 2 assertions)</screen>
9797
</para>
9898

9999
<screen><userinput>phpunit --help</userinput>
100-
<![CDATA[PHPUnit 3.7.13 by Sebastian Bergmann.
100+
<![CDATA[PHPUnit 3.7.0 by Sebastian Bergmann.
101101
102102
Usage: phpunit [switches] UnitTest [UnitTest.php]
103103
phpunit [switches] <directory>

src/3.8/en/textui.xml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
107107
--log-json <file> Log test execution in JSON format.
108108
109109
--coverage-clover <file> Generate code coverage report in Clover XML format.
110+
--coverage-crap4j <file> Generate code coverage report in Crap4J XML format.
110111
--coverage-html <dir> Generate code coverage report in HTML format.
111112
--coverage-php <file> Serialize PHP_CodeCoverage object to file.
112113
--coverage-text=<file> Generate code coverage report in text format.
@@ -116,9 +117,12 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
116117
--testdox-text <file> Write agile documentation in Text format to file.
117118
118119
--filter <pattern> Filter which tests to run.
120+
--testsuite <pattern> Filter which testsuite to run.
119121
--group ... Only runs tests from the specified group(s).
120122
--exclude-group ... Exclude tests from the specified group(s).
121123
--list-groups List available test groups.
124+
--test-suffix ... Only search for test in files with specified
125+
suffix(es). Default: Test.php,.phpt
122126
123127
--loader <loader> TestSuiteLoader implementation to use.
124128
--printer <printer> TestSuiteListener implementation to use.
@@ -135,7 +139,7 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
135139
--stop-on-incomplete Stop execution upon first incomplete test.
136140
--strict Run tests in strict mode.
137141
-v|--verbose Output more verbose information.
138-
--debug Display debbuging information during test execution.
142+
--debug Display debugging information during test execution.
139143
140144
--process-isolation Run each test in a separate PHP process.
141145
--no-globals-backup Do not backup and restore $GLOBALS for each test.
@@ -248,6 +252,21 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
248252
</listitem>
249253
</varlistentry>
250254

255+
<varlistentry>
256+
<indexterm><primary>Code Coverage</primary></indexterm>
257+
<term><literal>--coverage-crap4j</literal></term>
258+
<listitem>
259+
<para>
260+
Generates a code coverage report in Crap4j format. See
261+
<xref linkend="code-coverage-analysis" /> for more details.
262+
</para>
263+
<para>
264+
Please note that this functionality is only available when the
265+
tokenizer and Xdebug extensions are installed.
266+
</para>
267+
</listitem>
268+
</varlistentry>
269+
251270
<varlistentry>
252271
<indexterm><primary>Code Coverage</primary></indexterm>
253272
<term><literal>--coverage-php</literal></term>
@@ -303,6 +322,15 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
303322
</listitem>
304323
</varlistentry>
305324

325+
<varlistentry>
326+
<term><literal>--testsuite</literal></term>
327+
<listitem>
328+
<para>
329+
Only runs the test suite whose name matches the given pattern.
330+
</para>
331+
</listitem>
332+
</varlistentry>
333+
306334
<varlistentry>
307335
<indexterm><primary>Test Groups</primary></indexterm>
308336
<indexterm><primary>Annotation</primary></indexterm>
@@ -346,6 +374,15 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
346374
</para>
347375
</listitem>
348376
</varlistentry>
377+
378+
<varlistentry>
379+
<term><literal>--test-suffix</literal></term>
380+
<listitem>
381+
<para>
382+
Only search for test files with specified suffix(es).
383+
</para>
384+
</listitem>
385+
</varlistentry>
349386

350387
<varlistentry>
351388
<indexterm><primary>PHPUnit_Runner_TestSuiteLoader</primary></indexterm>

0 commit comments

Comments
 (0)