phpunit.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="tests/bootstrap.php"
  5. colors="true"
  6. convertErrorsToExceptions="true"
  7. convertNoticesToExceptions="true"
  8. convertWarningsToExceptions="true"
  9. processIsolation="false"
  10. stopOnFailure="false"
  11. testSuiteLoaderFile="phpunit/src/Runner/StandardTestSuiteLoader.php">
  12. <testsuites>
  13. <testsuite name="All">
  14. <directory>tests</directory>
  15. </testsuite>
  16. <testsuite name="Unit">
  17. <directory suffix="Test.php">./tests/Unit</directory>
  18. </testsuite>
  19. <testsuite name="Feature">
  20. <directory suffix="Test.php">./tests/Feature</directory>
  21. </testsuite>
  22. </testsuites>
  23. <groups>
  24. <exclude>
  25. <group>integration</group>
  26. </exclude>
  27. </groups>
  28. <logging>
  29. <log type="coverage-html" target="cache/coverage" lowUpperBound="35" highLowerBound="70"/>
  30. <log type="coverage-clover" target="cache/coverage.clover"/>
  31. </logging>
  32. <filter>
  33. <whitelist processUncoveredFilesFromWhitelist="true">
  34. <directory suffix=".php">./src</directory>
  35. <exclude>
  36. <file>./src/Profile/DefaultProfile.php</file>
  37. <file>./src/DefaultAcsClient.php</file>
  38. <file>./src/Release.php</file>
  39. <file>./src/SDK.php</file>
  40. <file>./src/Functions.php</file>
  41. <file>./src/Constants/Business.php</file>
  42. <file>./src/Constants/ErrorCode.php</file>
  43. <file>./src/Signature/Signature.php</file>
  44. <file>./src/Credentials/CredentialsInterface.php</file>
  45. </exclude>
  46. </whitelist>
  47. </filter>
  48. </phpunit>