phpunit.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="vendor/autoload.php"
  5. cacheResult="true"
  6. colors="false"
  7. convertErrorsToExceptions="true"
  8. convertNoticesToExceptions="true"
  9. convertWarningsToExceptions="true"
  10. processIsolation="false"
  11. stopOnFailure="false">
  12. <testsuites>
  13. <testsuite name="Full Test">
  14. <file>tests/GenerateDocumentationTest.php</file>
  15. </testsuite>
  16. <testsuite name="Strategies">
  17. <directory>tests/Strategies</directory>
  18. </testsuite>
  19. <testsuite name="RouteMatcher Tests">
  20. <file>tests/Unit/RouteMatcherDingoTest.php</file>
  21. <file>tests/Unit/RouteMatcherTest.php</file>
  22. </testsuite>
  23. <testsuite name="Unit Tests 1">
  24. <file>tests/Unit/GeneratorTest.php</file>
  25. <file>tests/Unit/AnnotationParserTest.php</file>
  26. </testsuite>
  27. <testsuite name="Unit Tests 2">
  28. <file>tests/Unit/OpenAPISpecWriterTest.php</file>
  29. <file>tests/Unit/PostmanCollectionWriterTest.php</file>
  30. </testsuite>
  31. </testsuites>
  32. <filter>
  33. <whitelist>
  34. <directory suffix=".php">src/</directory>
  35. <exclude>
  36. <file>src/ScribeServiceProvider.php</file>
  37. <file>resources/views/pastel.blade.php</file>
  38. </exclude>
  39. </whitelist>
  40. </filter>
  41. </phpunit>