phpunit.xml.dist 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
  3. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
  5. backupGlobals="false"
  6. colors="true"
  7. bootstrap="vendor/autoload.php"
  8. failOnRisky="true"
  9. failOnWarning="true"
  10. >
  11. <php>
  12. <ini name="error_reporting" value="-1" />
  13. <env name="TEST_DATABASE_DSN" value="mysql://root:root@127.0.0.1:3306/test_maker" />
  14. <env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/>
  15. </php>
  16. <testsuites>
  17. <testsuite name="Project Test Suite">
  18. <directory>tests/</directory>
  19. <exclude>tests/Maker</exclude>
  20. <exclude>tests/fixtures</exclude>
  21. <exclude>tests/tmp</exclude>
  22. </testsuite>
  23. <testsuite name="Maker Test Suite">
  24. <directory>tests/Maker</directory>
  25. </testsuite>
  26. </testsuites>
  27. <filter>
  28. <whitelist>
  29. <directory>./src/</directory>
  30. </whitelist>
  31. </filter>
  32. </phpunit>