I'm currently using the new 10 version of Zend Studio but I had the same problem in version 9.
When i run the PHPunit tests by rightclicking phpunit.xml and running it as a PHPunit test I get code coverage reports on Zend Framework files as well as my own files.
phpunit.xml
- Code: Select all
<phpunit bootstrap="./bootstrap.php" colors="true">
<testsuites>
<testsuite name="User Test Suite">
<directory suffix="Test.php">./User</directory>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../src</directory>
<exclude>../../vendor</exclude>
</whitelist>
</filter>
</testsuite>
</testsuites>
</phpunit>
I'm using Zend Framework 2 and it's directory structure.
Anyone able to tell me how to stop ZF from filling up my code coverage report in Zend Studio?

