diff --git a/testing.rst b/testing.rst index 0c33be7e331..d028fc2e713 100644 --- a/testing.rst +++ b/testing.rst @@ -22,15 +22,20 @@ wraps the original PHPUnit binary to provide additional features: $ composer require --dev symfony/phpunit-bridge -Each test - whether it's a unit test or a functional test - is a PHP class -that should live in the ``tests/`` directory of your application. If you follow -this rule, then you can run all of your application's tests with the following -command: +After the library downloads, try executing PHPUnit by running: .. code-block:: terminal $ ./vendor/bin/simple-phpunit +The first time you run this, it will download PHPUnit itself and make its +classes available in your app. + +Each test - whether it's a unit test or a functional test - is a PHP class +that should live in the ``tests/`` directory of your application. If you follow +this rule, then you can run all of your application's tests with the same +command as before. + PHPUnit is configured by the ``phpunit.xml.dist`` file in the root of your Symfony application.