Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions en/development/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,14 @@ This will put the coverage results in your application's webroot directory. You
should be able to view the results by going to
``http://localhost/your_app/coverage``.

If you are using PHP 5.6.0 or greater, you can use `phpdbg <http://phpdbg.com/>`__
to generate coverage instead of xdebug. ``phpdbg`` is generally faster at
generating coverage::

.. code-block:: bash

$ phpdbg -qrr phpunit --coverage-html webroot/coverage tests/TestCase/Model/Table/ArticlesTableTest

Combining Test Suites for Plugins
---------------------------------

Expand Down