Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/userguide/arcanist_coverage.diviner
Show All 21 Lines | For example: | ||||
arc unit --detailed-coverage src/some/file.php | arc unit --detailed-coverage src/some/file.php | ||||
Depending on how your test engine is configured, this will run tests relevant | Depending on how your test engine is configured, this will run tests relevant | ||||
to `src/some/file.php` and give you a detailed coverage report. | to `src/some/file.php` and give you a detailed coverage report. | ||||
If the test engine enables coverage by default, it will be uploaded to | If the test engine enables coverage by default, it will be uploaded to | ||||
Differential and displayed in the right gutter when viewing diffs. | Differential and displayed in the right gutter when viewing diffs. | ||||
= Enabling Coverage for libphutil, Arcanist and Phabricator = | = Enabling Coverage for Arcanist and Phabricator = | ||||
If you're contributing, libphutil, Arcanist and Phabricator support coverage if | If you're contributing, Arcanist and Phabricator support coverage if | ||||
you install Xdebug: | you install Xdebug: | ||||
http://xdebug.org/ | http://xdebug.org/ | ||||
It should be sufficient to correctly install Xdebug; coverage information will | It should be sufficient to correctly install Xdebug; coverage information will | ||||
be automatically enabled. | be automatically enabled. | ||||
= Building Coverage Support = | = Building Coverage Support = | ||||
Show All 29 Lines |