Search This Blog

Wednesday, October 12, 2011

Get phpunit coverage report for a single class

If you want to get the phpunit coverage report for a single class you can use --filter setting with the --coverage option.
phpunit --coverage-html ./report --filter InsuranceStatusEligibilityFilterTest PluginAllTests.php

No comments: