-
-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Description
Q | A |
---|---|
php-code-coverage version | 7.0.9 |
PHP version | 7.3.11 |
Driver | Xdebug |
Xdebug version (if used) | 2.8.0 |
Installation Method | Composer |
Usage Method | PHPUnit |
PHPUnit version (if used) | 8.4.3 |
After updating from 7.0.8 to 7.0.9 PHPStorm 2109.2.5 stops showing the coverage when running tests from IDE. No errors in IDE logs, it just behaves like all the code is excluded from coverage. Downgrading to 7.0.8 solves the problem, so the cause is probably in last php-code-coverage release.
phpunit.xml
:
<?xml version="1.0" encoding="UTF-8" ?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.4/phpunit.xsd"
forceCoversAnnotation="true"
colors="true"
defaultTestSuite="unit">
<testsuites>
<testsuite name="unit">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist
processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</phpunit>
Koc and zakirullin
Metadata
Metadata
Assignees
Labels
No labels