PHPunit 3.7.1 PHP 5.3.14 Windows 7
Using cmd I "cd" into the dir where phpunit.xml lives and run
phpunit -c phpunit.xml
but that dosen't generate any code coverage.
phpunit.xml:
<phpunit
bootstrap="./bootstrap.php"
verbose="true"
>
<testsuites>
<testsuite name="Test Suite">
<directory suffix=".php">./Base/src/</directory>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../src</directory>
<exclude>
<directory suffix=".php">../../vendor</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./CodeCoverage/"/>
</logging>
</testsuite>
</testsuites>
</phpunit>
when I run
phpunit -c phpunit.xml --coverage-html CodeCoverage
that works just fine, except nothing in the filter seem to work.
What am I doing wrong here?