Skip to content
This repository was archived by the owner on Apr 12, 2018. It is now read-only.

Add missing CLI switches to 3.7 docs. #103

Merged
merged 1 commit into from
Jun 17, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions src/3.7/en/textui.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ OK (2 tests, 2 assertions)</screen>
</para>

<screen><userinput>phpunit --help</userinput>
<![CDATA[PHPUnit 3.7.0 by Sebastian Bergmann.
<![CDATA[PHPUnit 3.7.13 by Sebastian Bergmann.

Usage: phpunit [switches] UnitTest [UnitTest.php]
phpunit [switches] <directory>
Expand All @@ -116,9 +116,12 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
--testdox-text <file> Write agile documentation in Text format to file.

--filter <pattern> Filter which tests to run.
--testsuite <pattern> Filter which testsuite to run.
--group ... Only runs tests from the specified group(s).
--exclude-group ... Exclude tests from the specified group(s).
--list-groups List available test groups.
--test-suffix ... Only search for test in files with specified
suffix(es). Default: Test.php,.phpt

--loader <loader> TestSuiteLoader implementation to use.
--printer <printer> TestSuiteListener implementation to use.
Expand All @@ -135,7 +138,7 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
--stop-on-incomplete Stop execution upon first incomplete test.
--strict Run tests in strict mode.
-v|--verbose Output more verbose information.
--debug Display debbuging information during test execution.
--debug Display debugging information during test execution.

--process-isolation Run each test in a separate PHP process.
--no-globals-backup Do not backup and restore $GLOBALS for each test.
Expand Down Expand Up @@ -303,6 +306,15 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
</listitem>
</varlistentry>

<varlistentry>
<term><literal>--testsuite</literal></term>
<listitem>
<para>
Only runs the test suite whose name matches the given pattern.
</para>
</listitem>
</varlistentry>

<varlistentry>
<indexterm><primary>Test Groups</primary></indexterm>
<indexterm><primary>Annotation</primary></indexterm>
Expand Down Expand Up @@ -347,6 +359,15 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
</listitem>
</varlistentry>

<varlistentry>
<term><literal>--test-suffix</literal></term>
<listitem>
<para>
Only search for test files with specified suffix(es).
</para>
</listitem>
</varlistentry>

<varlistentry>
<indexterm><primary>PHPUnit_Runner_TestSuiteLoader</primary></indexterm>
<term><literal>--loader</literal></term>
Expand Down