Skip to content

Commit 2c10047

Browse files
committed
[Tests] added a note about installing PHPUnit dependencies
1 parent 04562c0 commit 2c10047

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,15 +22,20 @@ 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
3229
$ ./vendor/bin/simple-phpunit
3330
31+
The first time you run this, it will download PHPUnit itself and make its
32+
classes available in your app.
33+
34+
Each test - whether it's a unit test or a functional test - is a PHP class
35+
that should live in the ``tests/`` directory of your application. If you follow
36+
this rule, then you can run all of your application's tests with the same
37+
command as before.
38+
3439
PHPUnit is configured by the ``phpunit.xml.dist`` file in the root of your
3540
Symfony application.
3641

0 commit comments

Comments
 (0)