phpunit-autotest.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!--
  3. - SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. - SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. - SPDX-License-Identifier: AGPL-3.0-only
  6. -->
  7. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  8. bootstrap="bootstrap.php"
  9. verbose="true"
  10. backupGlobals="false"
  11. timeoutForSmallTests="900"
  12. timeoutForMediumTests="900"
  13. timeoutForLargeTests="900"
  14. convertDeprecationsToExceptions="true"
  15. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd">
  16. <testsuite name="Nextcloud Server">
  17. <directory suffix=".php">lib/</directory>
  18. <directory suffix=".php">Core/</directory>
  19. <file>apps.php</file>
  20. </testsuite>
  21. <coverage>
  22. <include>
  23. <directory suffix=".php">..</directory>
  24. </include>
  25. <exclude>
  26. <directory suffix=".php">../3rdparty</directory>
  27. <directory suffix=".php">../apps/*/composer</directory>
  28. <directory suffix=".php">../apps/*/tests</directory>
  29. <directory suffix=".php">../apps/files_external/3rdparty</directory>
  30. <directory suffix=".php">../build</directory>
  31. <directory suffix=".php">../lib/composer</directory>
  32. <directory suffix=".php">../tests</directory>
  33. <directory suffix=".php">../vendor-bin</directory>
  34. </exclude>
  35. </coverage>
  36. <listeners>
  37. <listener class="StartSessionListener" file="startsessionlistener.php" />
  38. </listeners>
  39. </phpunit>