SaschaGalley / grunt-phpunit

Grunt plugin for running phpunit.
MIT License
68 stars 19 forks source link

Add whitelist option to builder.js #45

Closed henryruhs closed 2 years ago

henryruhs commented 8 years ago

Whitelisting Files

"It is mandatory to configure a whitelist for telling PHPUnit 5.x.x which sourcecode files to include in the code coverage report."

Source: https://phpunit.de/manual/current/en/code-coverage-analysis.html

In other words, your grunt task is oudated and a coverage report cannot be created with the latest version of PHPUnit.

Error Report

PHPUnit 5.1.3 by Sebastian Bergmann and contributors.

Error: No whitelist configured, no code coverage will be generated