suite.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="./bootstrap.php"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
  5. colors="true"
  6. backupGlobals="false"
  7. convertErrorsToExceptions="true"
  8. convertNoticesToExceptions="true"
  9. convertWarningsToExceptions="true"
  10. forceCoversAnnotation="true"
  11. stopOnFailure="false"
  12. timeoutForSmallTests="10"
  13. timeoutForMediumTests="30"
  14. timeoutForLargeTests="60"
  15. beStrictAboutTestsThatDoNotTestAnything="true"
  16. beStrictAboutOutputDuringTests="true"
  17. beStrictAboutTestSize="true"
  18. verbose="false">
  19. <testsuites>
  20. <testsuite name="includes">
  21. <directory>includes</directory>
  22. <!-- Parser tests must be invoked via their suite -->
  23. <exclude>includes/parser/ParserIntegrationTest.php</exclude>
  24. </testsuite>
  25. <testsuite name="languages">
  26. <directory>languages</directory>
  27. </testsuite>
  28. <testsuite name="parsertests">
  29. <file>suites/CoreParserTestSuite.php</file>
  30. <file>suites/ExtensionsParserTestSuite.php</file>
  31. </testsuite>
  32. <testsuite name="skins">
  33. <directory>skins</directory>
  34. <directory>structure</directory>
  35. <file>suites/ExtensionsTestSuite.php</file>
  36. <file>suites/LessTestSuite.php</file>
  37. </testsuite>
  38. <!-- As there is a class Maintenance, we cannot use the name "maintenance" directly -->
  39. <testsuite name="maintenance_suite">
  40. <directory>maintenance</directory>
  41. </testsuite>
  42. <testsuite name="structure">
  43. <directory>structure</directory>
  44. </testsuite>
  45. <testsuite name="tests">
  46. <directory>tests</directory>
  47. </testsuite>
  48. <testsuite name="uploadfromurl">
  49. <file>suites/UploadFromUrlTestSuite.php</file>
  50. </testsuite>
  51. <testsuite name="extensions">
  52. <directory>structure</directory>
  53. <file>suites/ExtensionsTestSuite.php</file>
  54. <file>suites/ExtensionsParserTestSuite.php</file>
  55. <file>suites/LessTestSuite.php</file>
  56. </testsuite>
  57. <testsuite name="documentation">
  58. <directory>documentation</directory>
  59. </testsuite>
  60. </testsuites>
  61. <groups>
  62. <exclude>
  63. <group>Utility</group>
  64. <group>Broken</group>
  65. <group>Stub</group>
  66. </exclude>
  67. </groups>
  68. <filter>
  69. <whitelist addUncoveredFilesFromWhitelist="true">
  70. <directory suffix=".php">../../includes</directory>
  71. <directory suffix=".php">../../languages</directory>
  72. <directory suffix=".php">../../maintenance</directory>
  73. <exclude>
  74. <directory suffix=".php">../../languages/messages</directory>
  75. <file>../../languages/data/normalize-ar.php</file>
  76. <file>../../languages/data/normalize-ml.php</file>
  77. </exclude>
  78. </whitelist>
  79. </filter>
  80. </phpunit>