phpunit.xml.dist 1.0 KB

12345678910111213141516171819202122232425262728
  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="React Test Suite">
  11. <directory>./tests/</directory>
  12. </testsuite>
  13. </testsuites>
  14. <coverage>
  15. <include>
  16. <directory>./src/</directory>
  17. </include>
  18. </coverage>
  19. <php>
  20. <ini name="error_reporting" value="-1" />
  21. <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
  22. <!-- <ini name="zend.assertions" value="1" /> -->
  23. <ini name="assert.active" value="1" />
  24. <ini name="assert.exception" value="1" />
  25. <ini name="assert.bail" value="0" />
  26. </php>
  27. </phpunit>