| Q |
A |
| PHPUnit version |
9.5.4 |
| PHP version |
8.0.5 with Xdebug 3.0.4 |
| Installation Method |
Composer |
Summary
see https://github.com/atk4/ui/pull/1628/checks?check_run_id=2476898808#step:9:45
phpunit finishes successfully, but when coverage is disabled, it does fail
Current behavior
Generating code coverage report in PHP format ... done [00:00.033]
Class "Behat\MinkExtension\Context\RawMinkContext" not found
Error: Process completed with exit code 2.
How to reproduce
see https://github.com/atk4/ui/pull/1628/checks?check_run_id=2476898808#step:9:45
Expected behavior
When class is not loaded in any phpunit tests, zero coverage must be generated even if parent class is not loadable and no error must be generated.
Summary
see https://github.com/atk4/ui/pull/1628/checks?check_run_id=2476898808#step:9:45
phpunit finishes successfully, but when coverage is disabled, it does fail
Current behavior
How to reproduce
see https://github.com/atk4/ui/pull/1628/checks?check_run_id=2476898808#step:9:45
Expected behavior
When class is not loaded in any phpunit tests, zero coverage must be generated even if parent class is not loadable and no error must be generated.