phpunit.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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="true"
  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="Generator Tests">
  17. <file>tests/Unit/DingoGeneratorTest.php</file>
  18. <file>tests/Unit/LaravelGeneratorTest.php</file>
  19. <file>tests/Unit/GeneratorPluginSystemTest.php</file>
  20. </testsuite>
  21. <testsuite name="Strategies">
  22. <directory>tests/Strategies</directory>
  23. </testsuite>
  24. <testsuite name="RouteMatcher Tests">
  25. <file>tests/Unit/RouteMatcherDingoTest.php</file>
  26. <file>tests/Unit/RouteMatcherTest.php</file>
  27. </testsuite>
  28. <testsuite name="Other Unit Tests">
  29. <file>tests/Unit/PostmanCollectionWriterTest.php</file>
  30. <file>tests/Unit/OpenAPISpecWriterTest.php</file>
  31. <file>tests/Unit/AnnotationParserTest.php</file>
  32. </testsuite>
  33. </testsuites>
  34. <filter>
  35. <whitelist>
  36. <directory suffix=".php">src/</directory>
  37. <exclude>
  38. <file>src/ScribeServiceProvider.php</file>
  39. <file>resources/views/pastel.blade.php</file>
  40. </exclude>
  41. </whitelist>
  42. </filter>
  43. </phpunit>