phpunit-autotest.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. </exclude>
  34. </coverage>
  35. <listeners>
  36. <listener class="StartSessionListener" file="startsessionlistener.php" />
  37. </listeners>
  38. </phpunit>