Currently I am doing a whitebox test so the parent class and all interfaces are tested. This covers them all so I add the doc comment:
/**
* @covers \Pat\Environment\PHP\Autoloader\Psr0<extended>
*/
public function testWhitebox() {}
phpUnit runs with success but the interface does not appear in the coverage.xml file. No matter if excluded or not.
<?xml version="1.0" encoding="UTF-8" ?>
<phpunit bootstrap="bootstrap.php">
<filter>
<blacklist>
<file>*Interface.php</file>
</blacklist>
</filter>
<logging>
<log type="coverage-clover" target="./coverage.xml"/>
</logging>
</phpunit>
The phpStorm IDE keeps counting it as file and therefor it is missing. Without that issue it would be 100% code coverage.
It is open for phpStorm and fixed for IntelliJ IDEA.
http://youtrack.jetbrains.com/issue/WI-14785
Any known workaround?