You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Post-process PHPUnit's PHP format using phpcov #216
Right now, PHP Censor seems to report coverage and artifacts from the generated HTML report.
In some cases (e.g., when the test invokes a headless browser through a behat/mink driver), the reported coverage is not accurate ---generation of coverage on both ends is required.
In order to solve the issue, one can modify the application router (e.g., web/app_test.php) to generate the actual coverage of each request from the browser's side (in PHP format) (using SebastianBergmann\CodeCoverage API). The generated files can later be combined with the the PHPUnit report (also in PHP format), using phpcov's merge option.
So the proposed feature comes down to:
adding one configuration option to the PHPUnit plugin, to indicate where to find the partial coverage files. For example:
Activity
corpsee commentedon Sep 25, 2018
@jwmwalrus Thank you for the detailed issue with idea!