Ignore a couple of files for code coverage that should not be covered;

add a simle run-tests script that steals some code from photon to
return the code coverage at the end of the test execution
(we're only at about 8% - lots of work left...)
This commit is contained in:
Thomas Keller
2011-03-25 00:29:50 +01:00
parent 002fa05c7f
commit 39ba5b37ef
2 changed files with 26 additions and 0 deletions

View File

@@ -12,4 +12,16 @@
<directory>test/IDF/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/IDF</directory>
<exclude>
<directory suffix=".php">src/IDF/Tests</directory>
<directory suffix=".php">src/IDF/conf</directory>
<file>src/IDF/version.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>