summaryrefslogtreecommitdiff
path: root/_test/phpunit.xml
diff options
context:
space:
mode:
authorTobias Sarnowski <sarnowski@cosmocode.de>2012-04-20 09:37:53 +0200
committerTobias Sarnowski <sarnowski@cosmocode.de>2012-04-20 09:37:53 +0200
commitf64856ce8e8057c67c211aadd41ff22ec10f2bb0 (patch)
treed2c66239aeee31c3063075d565e4558f7e7a1bfe /_test/phpunit.xml
parent3d8d400934f7a435100874d5cae37fdb1cd98703 (diff)
downloadrpg-f64856ce8e8057c67c211aadd41ff22ec10f2bb0.tar.gz
rpg-f64856ce8e8057c67c211aadd41ff22ec10f2bb0.tar.bz2
only include dw files in coverage report except _ directories
Diffstat (limited to '_test/phpunit.xml')
-rw-r--r--_test/phpunit.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/_test/phpunit.xml b/_test/phpunit.xml
index 015c6b7f0..13676f207 100644
--- a/_test/phpunit.xml
+++ b/_test/phpunit.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="bootstrap.php"
- convertNoticesToExceptions="false"
- backupGlobals="yes">
+ convertNoticesToExceptions="false">
<testsuites>
<testsuite name="DokuWiki Tests">
@@ -13,5 +12,15 @@
</testsuite>
</testsuites>
+ <filter>
+ <whitelist addUncoveredFilesFromWhitelist="false">
+ <directory suffix=".php">../</directory>
+ <exclude>
+ <directory suffix=".php">../_cs/</directory>
+ <directory suffix=".php">../_test/</directory>
+ <directory suffix=".php">../lib/plugins/*/_test/</directory>
+ </exclude>
+ </whitelist>
+ </filter>
</phpunit>