您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

phpunit.xml 978B

12345678910111213141516171819202122232425262728293031323334
  1. <phpunit>
  2. <php>
  3. <const name="PHPUNIT_TEST" value="yes"/>
  4. </php>
  5. <testsuites>
  6. <testsuite name="default">
  7. <directory>./tests</directory>
  8. </testsuite>
  9. </testsuites>
  10. <php>
  11. <const name="PHP_UNIT_TEST" value="true" />
  12. </php>
  13. <logging>
  14. <log type="coverage-html" target="./coverage" charset="UTF-8" highlight="false" lowUpperBound="35" highLowerBound="70"/>
  15. </logging>
  16. <filter>
  17. <whitelist>
  18. <directory>./model</directory>
  19. <directory>./public</directory>
  20. <file>./functions.inc.php</file>
  21. </whitelist>
  22. <blacklist>
  23. <!-- no point in doing coverage for the tests themselves -->
  24. <directory>./tests/</directory>
  25. <!-- we have no control over code from these directories -->
  26. <directory>./vendor/</directory>
  27. <directory>./lib/</directory>
  28. </blacklist>
  29. </filter>
  30. </phpunit>