0
0

phpunit.xml.dist 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
  4. backupGlobals="false"
  5. colors="true"
  6. bootstrap="./base.php"
  7. failOnRisky="true"
  8. failOnWarning="true"
  9. >
  10. <php>
  11. <ini name="error_reporting" value="-1" />
  12. <ini name="intl.default_locale" value="en" />
  13. <ini name="intl.error_level" value="0" />
  14. <ini name="memory_limit" value="-1" />
  15. <env name="DUMP_LIGHT_ARRAY" value="" />
  16. <env name="DUMP_STRING_LENGTH" value="" />
  17. <env name="LDAP_HOST" value="127.0.0.1" />
  18. <env name="LDAP_PORT" value="3389" />
  19. <env name="REDIS_HOST" value="localhost" />
  20. <env name="MEMCACHED_HOST" value="localhost" />
  21. </php>
  22. <testsuites>
  23. <testsuite name="ThinkPHP Test Suite">
  24. <directory>./library/think/*/tests/</directory>
  25. </testsuite>
  26. </testsuites>
  27. <filter>
  28. <whitelist>
  29. <directory>./library/</directory>
  30. <exclude>
  31. <directory>./library/think/*/tests</directory>
  32. <directory>./library/think/*/assets</directory>
  33. <directory>./library/think/*/resources</directory>
  34. <directory>./library/think/*/vendor</directory>
  35. </exclude>
  36. </whitelist>
  37. </filter>
  38. </phpunit>