Skip to content

Commit 964dafd

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: [Tests] added a note about installing PHPUnit dependencies
2 parents 9a4f41b + 4ab4e4f commit 964dafd

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

testing.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ 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 (the first time
26+
you run this, it will download PHPUnit itself and make its classes available in
27+
your app):
2928

3029
.. code-block:: terminal
3130
@@ -39,6 +38,11 @@ command:
3938
it again. Another solution is to remove the project's ``symfony.lock`` file and
4039
run ``composer install`` to force the execution of all Symfony Flex recipes.
4140

41+
Each test - whether it's a unit test or a functional test - is a PHP class
42+
that should live in the ``tests/`` directory of your application. If you follow
43+
this rule, then you can run all of your application's tests with the same
44+
command as before.
45+
4246
PHPUnit is configured by the ``phpunit.xml.dist`` file in the root of your
4347
Symfony application.
4448

0 commit comments

Comments
 (0)