Must provide --whitelist
even when Xdebug whitelist script is used
#3740
Labels
feature/code-coverage
Issues related to code coverage (but not php-code-coverage)
type/enhancement
A new idea that should be implemented
When using Xdebug coverage filter via the
--prepend
argument, PHPUnit still requires the--whitelist
argument in order to generate code coverage.When I provide the
--whitelist
argument, it works:$ phpunit --dump-xdebug-filter=./filter.php $ phpunit --prepend=./filter.php ./tests/suite --coverage-html=./coverage --whitelist=/path/to/project/src > ...
Or is this the way it is intended to work?
The text was updated successfully, but these errors were encountered: