aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-11 09:43:19 +0200
committerGitHub <noreply@github.com>2020-08-11 09:43:19 +0200
commit21e0523c077a367b440f76d2a58c8baf1b5f4f00 (patch)
tree793092a3cb99893cdcd44e3a4c018920a9cdd78f
parentdffa155fc1d2170a533040994cffaa67d3edfe0a (diff)
parentaa0e90f0c01f8a91be2ecdcaae9222e4807b2e78 (diff)
downloadnextcloud-server-21e0523c077a367b440f76d2a58c8baf1b5f4f00.tar.gz
nextcloud-server-21e0523c077a367b440f76d2a58c8baf1b5f4f00.zip
Merge pull request #22167 from nextcloud/debt/noid/coverage-filter
Exclude apps/*/tests for coverage calculation
-rw-r--r--tests/phpunit-autotest.xml28
1 files changed, 5 insertions, 23 deletions
diff --git a/tests/phpunit-autotest.xml b/tests/phpunit-autotest.xml
index da786c765f8..17b0b62c0b7 100644
--- a/tests/phpunit-autotest.xml
+++ b/tests/phpunit-autotest.xml
@@ -8,8 +8,7 @@
>
<testsuite name='ownCloud'>
<directory suffix='.php'>lib/</directory>
- <directory suffix='.php'>Settings/</directory>
- <directory suffix='.php'>Core/</directory>
+ <directory suffix='.php'>core/</directory>
<directory suffix='.php'>ocs-provider/</directory>
<file>apps.php</file>
</testsuite>
@@ -20,29 +19,12 @@
<directory suffix=".php">..</directory>
<exclude>
<directory suffix=".php">../3rdparty</directory>
- <directory suffix=".php">../apps/admin_audit/tests</directory>
- <directory suffix=".php">../apps/dav/tests</directory>
- <directory suffix=".php">../apps/encryption/tests</directory>
- <directory suffix=".php">../apps/federatedfilesharing/tests</directory>
- <directory suffix=".php">../apps/federation/tests</directory>
- <directory suffix=".php">../apps/files/tests</directory>
- <directory suffix=".php">../apps/files_external</directory>
- <directory suffix=".php">../apps/files_sharing/tests</directory>
- <directory suffix=".php">../apps/files_trashbin/tests</directory>
- <directory suffix=".php">../apps/files_versions/tests</directory>
- <directory suffix=".php">../apps/oauth2/tests</directory>
- <directory suffix=".php">../apps/provisioning_api/tests</directory>
- <directory suffix=".php">../apps/systemtags/tests</directory>
- <directory suffix=".php">../apps/theming/tests</directory>
- <directory suffix=".php">../apps/settings/tests</directory>
- <directory suffix=".php">../apps/twofactor_backupcodes/tests</directory>
- <directory suffix=".php">../apps/updatenotification/tests</directory>
- <directory suffix=".php">../apps/user_ldap/tests</directory>
- <directory suffix=".php">../apps/workflowengine/tests</directory>
- <directory suffix=".php">../tests</directory>
+ <directory suffix=".php">../apps/*/composer</directory>
+ <directory suffix=".php">../apps/*/tests</directory>
+ <directory suffix=".php">../apps/files_external/3rdparty</directory>
<directory suffix=".php">../build</directory>
<directory suffix=".php">../lib/composer</directory>
- <directory suffix=".php">../apps/*/composer</directory>
+ <directory suffix=".php">../tests</directory>
</exclude>
</whitelist>
</filter>