You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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>