phpunit.xml.dist 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- PHPUnit configuration file with new format for PHPUnit 9.6+ -->
  3. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
  5. bootstrap="vendor/autoload.php"
  6. cacheResult="false"
  7. colors="true"
  8. convertDeprecationsToExceptions="true">
  9. <testsuites>
  10. <testsuite name="Promise Test Suite">
  11. <directory>./tests/</directory>
  12. <directory suffix=".phpt">./tests/</directory>
  13. </testsuite>
  14. </testsuites>
  15. <coverage>
  16. <include>
  17. <directory>./src/</directory>
  18. </include>
  19. <exclude>
  20. <file>./src/functions_include.php</file>
  21. </exclude>
  22. </coverage>
  23. <php>
  24. <ini name="error_reporting" value="-1" />
  25. <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
  26. <!-- <ini name="zend.assertions" value="1" /> -->
  27. <ini name="assert.active" value="1" />
  28. <ini name="assert.exception" value="1" />
  29. <ini name="assert.bail" value="0" />
  30. </php>
  31. </phpunit>