phpunit.xml.dist 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="./tests/Bootstrap.php"
  3. colors="true"
  4. verbose="true"
  5. >
  6. <testsuites>
  7. <testsuite name="Mockery Test Suite">
  8. <directory suffix="Test.php">./tests</directory>
  9. <directory phpVersion="7.0.0" phpVersionOperator=">=">./tests/PHP70</directory>
  10. <directory phpVersion="7.2.0" phpVersionOperator=">=">./tests/PHP72</directory>
  11. <exclude>./tests/PHP56</exclude>
  12. <exclude>./tests/Mockery/MockingVariadicArgumentsTest.php</exclude>
  13. </testsuite>
  14. <testsuite name="Mockery Test Suite PHP56">
  15. <directory suffix="Test.php">./tests</directory>
  16. <directory suffix="Test.php">./tests/PHP56</directory>
  17. <exclude>./tests/PHP70</exclude>
  18. <exclude>./tests/PHP72</exclude>
  19. <exclude>./tests/Mockery/MockingVariadicArgumentsTest.php</exclude>
  20. </testsuite>
  21. </testsuites>
  22. <filter>
  23. <whitelist processUncoveredFilesFromWhitelist="true">
  24. <directory suffix=".php">./library/</directory>
  25. <exclude>
  26. <directory>./library/Mockery/Adapter/Phpunit/Legacy</directory>
  27. <file>./library/Mockery/Adapter/Phpunit/TestListener.php</file>
  28. <file>./library/Mockery/Adapter/Phpunit/MockeryPHPUnitIntegrationAssertPostConditionsForV8.php</file>
  29. <file>./library/Mockery/Adapter/Phpunit/MockeryTestCaseSetUpForV8.php</file>
  30. </exclude>
  31. </whitelist>
  32. </filter>
  33. </phpunit>