8000 Update testing.rst · symfony/symfony-docs@d818b70 · GitHub
[go: up one dir, main page]

Skip to content

Commit d818b70

Browse files
vihuararjaviereguiluz
authored andcommitted
Update testing.rst
1 parent 8bca82a commit d818b70

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)
0