Skip to content

Commit 72197ba

Browse files
Merge branch '8.0' into 8.1
2 parents cbb3932 + 6d36a1d commit 72197ba

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/organizing-tests.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ the following command:
6464

6565
.. parsed-literal::
6666
67-
$ phpunit --bootstrap src/autoload.php tests/CurrencyTest
67+
$ phpunit --bootstrap src/autoload.php tests/CurrencyTest.php
6868
PHPUnit |version|.0 by Sebastian Bergmann and contributors.
6969
7070
........
@@ -120,6 +120,19 @@ directory is recursively traversed.
120120
</testsuites>
121121
</phpunit>
122122
123+
To run the test suite, use the the ``--testsuite`` option:
124+
125+
.. parsed-literal::
126+
127+
$ phpunit --bootstrap src/autoload.php --testsuite money
128+
PHPUnit |version|.0 by Sebastian Bergmann and contributors.
129+
130+
..
131+
132+
Time: 167 ms, Memory: 3.00Mb
133+
134+
OK (2 test, 2 assertions)
135+
123136
If :file:`phpunit.xml` or
124137
:file:`phpunit.xml.dist` (in that order) exist in the
125138
current working directory and ``--configuration`` is

0 commit comments

Comments
 (0)