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. <directory suffix=".php">Test/</directory>
  20. <file>apps.php</file>
  21. </testsuite>
  22. <coverage>
  23. <include>
  24. <directory suffix=".php">..</directory>
  25. </include>
  26. <exclude>
  27. <directory suffix=".php">../3rdparty</directory>
  28. <directory suffix=".php">../apps/*/composer</directory>
  29. <directory suffix=".php">../apps/*/tests</directory>
  30. <directory suffix=".php">../apps/files_external/3rdparty</directory>
  31. <directory suffix=".php">../build</directory>
  32. <directory suffix=".php">../lib/composer</directory>
  33. <directory suffix=".php">../tests</directory>
  34. </exclude>
  35. </coverage>
  36. <listeners>
  37. <listener class="StartSessionListener" file="startsessionlistener.php" />
  38. </listeners>
  39. </phpunit>