File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,8 @@ Symfony application.
48
48
49
49
.. tip ::
50
50
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 `_.
58
53
59
54
.. index ::
60
55
single: Tests; Unit tests
@@ -1144,3 +1139,4 @@ Learn more
1144
1139
.. _`unit test` : https://en.wikipedia.org/wiki/Unit_testing
1145
1140
.. _`$_SERVER` : https://www.php.net/manual/en/reserved.variables.server.php
1146
1141
.. _`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
You can’t perform that action at this time.
0 commit comments