multisite.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <phpunit
  2. bootstrap="includes/bootstrap.php"
  3. backupGlobals="false"
  4. colors="true"
  5. beStrictAboutTestsThatDoNotTestAnything="true"
  6. >
  7. <php>
  8. <const name="WP_TESTS_MULTISITE" value="1" />
  9. <const name="WP_RUN_CORE_TESTS" value="1" />
  10. </php>
  11. <testsuites>
  12. <!-- Default test suite to run all tests. -->
  13. <testsuite name="default">
  14. <directory suffix=".php">tests</directory>
  15. <exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
  16. </testsuite>
  17. <!-- Sets the DOING_AUTOSAVE constant, so needs to be run last. -->
  18. <testsuite name="restapi-autosave">
  19. <file>tests/rest-api/rest-autosaves-controller.php</file>
  20. </testsuite>
  21. </testsuites>
  22. <groups>
  23. <exclude>
  24. <group>ajax</group>
  25. <group>ms-files</group>
  26. <group>ms-excluded</group>
  27. <group>external-http</group>
  28. <group>oembed-headers</group>
  29. </exclude>
  30. </groups>
  31. <listeners>
  32. <listener class="SpeedTrapListener" file="tests/phpunit/includes/listener-loader.php">
  33. <arguments>
  34. <array>
  35. <element key="slowThreshold">
  36. <integer>150</integer>
  37. </element>
  38. </array>
  39. </arguments>
  40. </listener>
  41. </listeners>
  42. <filter>
  43. <whitelist addUncoveredFilesFromWhitelist="true">
  44. <directory suffix=".php">../../build</directory>
  45. <exclude>
  46. <!-- Third party library exclusions. -->
  47. <directory suffix=".php">../../build/wp-includes/ID3</directory>
  48. <directory suffix=".php">../../build/wp-includes/IXR</directory>
  49. <directory suffix=".php">../../build/wp-includes/random_compat</directory>
  50. <directory suffix=".php">../../build/wp-includes/PHPMailer</directory>
  51. <directory suffix=".php">../../build/wp-includes/Requests</directory>
  52. <directory suffix=".php">../../build/wp-includes/SimplePie</directory>
  53. <directory suffix=".php">../../build/wp-includes/sodium_compat</directory>
  54. <directory suffix=".php">../../build/wp-includes/Text</directory>
  55. <!-- Plugins and themes. -->
  56. <directory suffix=".php">../../build/wp-content/</directory>
  57. <file>../../build/wp-admin/includes/class-ftp*</file>
  58. <file>../../build/wp-admin/includes/class-pclzip.php</file>
  59. <file>../../build/wp-admin/includes/deprecated.php</file>
  60. <file>../../build/wp-admin/includes/ms-deprecated.php</file>
  61. <file>../../build/wp-includes/atomlib.php</file>
  62. <file>../../build/wp-includes/class-IXR.php</file>
  63. <file>../../build/wp-includes/class-json.php</file>
  64. <file>../../build/wp-includes/class-phpass.php</file>
  65. <file>../../build/wp-includes/class-pop3.php</file>
  66. <file>../../build/wp-includes/class-requests.php</file>
  67. <file>../../build/wp-includes/class-simplepie.php</file>
  68. <file>../../build/wp-includes/class-snoopy.php</file>
  69. <file>../../build/wp-includes/deprecated.php</file>
  70. <file>../../build/wp-includes/ms-deprecated.php</file>
  71. <file>../../build/wp-includes/pluggable-deprecated.php</file>
  72. <file>../../build/wp-includes/rss.php</file>
  73. </exclude>
  74. </whitelist>
  75. </filter>
  76. </phpunit>