phpunit.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. backupGlobals="false"
  4. backupStaticAttributes="false"
  5. bootstrap="vendor/autoload.php"
  6. cacheResult="true"
  7. colors="false"
  8. convertErrorsToExceptions="true"
  9. convertNoticesToExceptions="true"
  10. convertWarningsToExceptions="true"
  11. processIsolation="false"
  12. stopOnFailure="false"
  13. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
  14. <coverage>
  15. <include>
  16. <directory suffix=".php">src/</directory>
  17. </include>
  18. <exclude>
  19. <file>src/ScribeServiceProvider.php</file>
  20. <file>resources/views/pastel.blade.php</file>
  21. </exclude>
  22. </coverage>
  23. <testsuites>
  24. <testsuite name="Full Test">
  25. <file>tests/GenerateDocumentationTest.php</file>
  26. </testsuite>
  27. <testsuite name="Strategies">
  28. <directory>tests/Strategies</directory>
  29. </testsuite>
  30. <testsuite name="RouteMatcher Tests">
  31. <file>tests/Unit/RouteMatcherDingoTest.php</file>
  32. <file>tests/Unit/RouteMatcherTest.php</file>
  33. </testsuite>
  34. <testsuite name="Unit Tests 1">
  35. <file>tests/Unit/GeneratorTest.php</file>
  36. <file>tests/Unit/AnnotationParserTest.php</file>
  37. <file>tests/Unit/GeneratorPluginSystemTest.php</file>
  38. </testsuite>
  39. <testsuite name="Unit Tests 2">
  40. <file>tests/Unit/OpenAPISpecWriterTest.php</file>
  41. <file>tests/Unit/PostmanCollectionWriterTest.php</file>
  42. </testsuite>
  43. </testsuites>
  44. </phpunit>