Skip to content

Commit 3d33ee9

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: [Tests] added a note about installing PHPUnit dependencies
2 parents 7c1178c + de8e112 commit 3d33ee9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

testing.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ wraps the original PHPUnit binary to provide additional features:
2222
2323
$ composer require --dev symfony/phpunit-bridge
2424
25-
Each test - whether it's a unit test or a functional test - is a PHP class
26-
that should live in the ``tests/`` directory of your application. If you follow
27-
this rule, then you can run all of your application's tests with the following
28-
command:
25+
After the library downloads, try executing PHPUnit by running:
2926

3027
.. code-block:: terminal
3128
@@ -39,6 +36,14 @@ command:
3936
it again. Another solution is to remove the project's ``symfony.lock`` file and
4037
run ``composer install`` to force the execution of all Symfony Flex recipes.
4138

39+
The first time you run this, it will download PHPUnit itself and make its
40+
classes available in your app.
41+
42+
Each test - whether it's a unit test or a functional test - is a PHP class
43+
that should live in the ``tests/`` directory of your application. If you follow
44+
this rule, then you can run all of your application's tests with the same
45+
command as before.
46+
4247
PHPUnit is configured by the ``phpunit.xml.dist`` file in the root of your
4348
Symfony application.
4449

0 commit comments

Comments
 (0)