Skip to content

Commit 01e0f39

Browse files
committed
minor #13506 Update testing.rst (vihuarar)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Update testing.rst added a comment to a requirement to generate code coverage in html <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- d818b70 Update testing.rst
2 parents 6a5b4f3 + d818b70 commit 01e0f39

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

testing.rst

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

4949
.. tip::
5050

51-
Code coverage can be generated with the ``--coverage-*`` options, see the
52-
help information that is shown when using ``--help`` for more information.
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
5358
5459
.. index::
5560
single: Tests; Unit tests

0 commit comments

Comments
 (0)