phpunit.xml.dist 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. syntaxCheck="false">
  12. <testsuites>
  13. <testsuite name="unit">
  14. <directory>tests</directory>
  15. </testsuite>
  16. </testsuites>
  17. <listeners>
  18. <listener file="vendor/bolt/bolt/tests/phpunit/BoltListener.php" class="Bolt\Tests\BoltListener">
  19. <arguments>
  20. <!-- Configuration files. Can be either .yml or .yml.dist files -->
  21. <!-- Locations can be relative to TEST_ROOT directory, the Bolt directory, or an absolute path -->
  22. <array>
  23. <element key="config">
  24. <string>vendor/bolt/bolt/app/config/config.yml.dist</string>
  25. </element>
  26. <element key="contenttypes">
  27. <string>vendor/bolt/bolt/app/config/contenttypes.yml.dist</string>
  28. </element>
  29. <element key="menu">
  30. <string>vendor/bolt/bolt/app/config/menu.yml.dist</string>
  31. </element>
  32. <element key="permissions">
  33. <string>vendor/bolt/bolt/app/config/permissions.yml.dist</string>
  34. </element>
  35. <element key="routing">
  36. <string>vendor/bolt/bolt/app/config/routing.yml.dist</string>
  37. </element>
  38. <element key="taxonomy">
  39. <string>vendor/bolt/bolt/app/config/taxonomy.yml.dist</string>
  40. </element>
  41. </array>
  42. <!-- Theme directory. Can be relative to TEST_ROOT directory, the Bolt directory, or an absolute path -->
  43. <array>
  44. <element key="theme">
  45. <string>theme/base-2014</string>
  46. </element>
  47. </array>
  48. <!-- The Bolt SQLite database, leave empty to use the one bundled with Bolt's repository -->
  49. <!-- Location can be relative to TEST_ROOT directory, the Bolt directory, or an absolute path -->
  50. <array>
  51. <element key="boltdb">
  52. <string>vendor/bolt/bolt/tests/phpunit/unit/resources/db/bolt.db</string>
  53. </element>
  54. </array>
  55. <!-- Reset the cache and test temporary directories -->
  56. <boolean>true</boolean>
  57. <!-- Create timer output in app/cache/phpunit-test-timer.txt -->
  58. <boolean>true</boolean>
  59. </arguments>
  60. </listener>
  61. </listeners>
  62. </phpunit>