Search This Blog

Showing posts with label phpunit. Show all posts
Showing posts with label phpunit. Show all posts

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