summaryrefslogtreecommitdiffstats
path: root/phpunit.xml
diff options
context:
space:
mode:
authorSean Molenaar <SMillerDev@users.noreply.github.com>2018-03-18 15:01:08 +0100
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2018-03-18 15:01:08 +0100
commit17e85dd5079b7ee0b1f18a450b66ec5df3cf5eb3 (patch)
tree4a4ddbea25429a4a9d82b8b28cd935d8838b30f3 /phpunit.xml
parent2de169e43a17bdb6e1d19054e76de3ce7e220052 (diff)
Unit: Fix unittests (#278)
* Unit: Fix unittests Issue #171 * Tests: Move test namespace to the expected nextcloud namespace
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
index 82c96d6c2..768e083b5 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -4,4 +4,24 @@
<directory>./tests/Unit</directory>
</testsuite>
</testsuites>
+ <filter>
+ <whitelist processUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">./lib/</directory>
+ <exclude>
+ <file>./lib/Config/DependencyException.php</file>
+ <file>./lib/Explore/feeds/RecommendedSiteNotFoundException.php</file>
+ <file>./lib/Explore/feeds/RecommendedSiteNotFoundException.php</file>
+ <file>./lib/Fetcher/FetcherException.php</file>
+ <file>./lib/Service/ServiceConflictException.php</file>
+ <file>./lib/Service/ServiceException.php</file>
+ <file>./lib/Service/ServiceNotFoundException.php</file>
+ <file>./lib/Service/ServiceValidationException.php</file>
+ </exclude>
+ </whitelist>
+ </filter>
+ <logging>
+ <log type="coverage-html" target="./build/report" lowUpperBound="35" highLowerBound="70"/>
+ <log type="coverage-clover" target="./build/coverage.xml"/>
+ <log type="junit" target="./build/junit.xml"/>
+ </logging>
</phpunit>