phpunit.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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="Test4HighVersion">
  17. <directory>./tests/HigherthanorEqualtoVersion7_2</directory>
  18. </testsuite>
  19. <testsuite name="Test4LowVersion">
  20. <directory>./tests/LowerthanVersion7_2</directory>
  21. </testsuite>
  22. <testsuite name="Unit4HighVersion">
  23. <directory suffix="Test.php">./tests/HigherthanorEqualtoVersion7_2/Unit</directory>
  24. </testsuite>
  25. <testsuite name="Feature4HighVersion">
  26. <directory suffix="Test.php">./tests/HigherthanorEqualtoVersion7_2/Feature</directory>
  27. </testsuite>
  28. <testsuite name="Unit4LowVersion">
  29. <directory suffix="Test.php">./tests/LowerthanVersion7_2/Unit</directory>
  30. </testsuite>
  31. <testsuite name="Feature4LowVersion">
  32. <directory suffix="Test.php">./tests/LowerthanVersion7_2/Feature</directory>
  33. </testsuite>
  34. </testsuites>
  35. <groups>
  36. <exclude>
  37. <group>integration</group>
  38. </exclude>
  39. </groups>
  40. <logging>
  41. <log type="coverage-html" target="cache/coverage" lowUpperBound="35" highLowerBound="70"/>
  42. <log type="coverage-clover" target="cache/coverage.clover"/>
  43. </logging>
  44. <filter>
  45. <whitelist processUncoveredFilesFromWhitelist="true">
  46. <directory suffix=".php">./src</directory>
  47. <exclude>
  48. <file>./src/Profile/DefaultProfile.php</file>
  49. <file>./src/DefaultAcsClient.php</file>
  50. <file>./src/Release.php</file>
  51. <file>./src/SDK.php</file>
  52. <file>./src/Functions.php</file>
  53. <file>./src/Constants/Business.php</file>
  54. <file>./src/Constants/ErrorCode.php</file>
  55. <file>./src/Signature/Signature.php</file>
  56. <file>./src/Credentials/CredentialsInterface.php</file>
  57. </exclude>
  58. </whitelist>
  59. </filter>
  60. </phpunit>