Skip to content

Commit 4e9656a

Browse files
committed
Add a link to PHPUnit doc
1 parent 01e0f39 commit 4e9656a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

testing.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,8 @@ Symfony application.
4848

4949
.. tip::
5050

51-
Code coverage can be generated with the ``--coverage-*`` options, see the help information that is shown when using ``--help`` for more information.
52-
To avoid the error "No code coverage driver is available" when you are generating code coverage you must install (xdebug, pcov, phpdbg)
53-
To install x-debug type on Ubuntu:
54-
55-
.. code-block:: terminal
56-
57-
$ sudo apt-get install php-xdebug
51+
Use the ``--coverage-*`` command options to generate code coverage reports.
52+
Read the PHPUnit manual to learn more about `code coverage analysis`_.
5853

5954
.. index::
6055
single: Tests; Unit tests
@@ -1144,3 +1139,4 @@ Learn more
11441139
.. _`unit test`: https://en.wikipedia.org/wiki/Unit_testing
11451140
.. _`$_SERVER`: https://www.php.net/manual/en/reserved.variables.server.php
11461141
.. _`data providers`: https://phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.data-providers
1142+
.. _`code coverage analysis`: https://phpunit.readthedocs.io/en/9.1/code-coverage-analysis.html

0 commit comments

Comments
 (0)