phpunit.xml 1.6 KB

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