TESTING.txt

Same filename in this branch
  1. main composer/Generator/TESTING.txt
  2. main composer/Plugin/ProjectMessage/TESTING.txt
  3. main composer/Plugin/Scaffold/TESTING.txt
  4. main composer/Plugin/VendorHardening/TESTING.txt
  5. main core/assets/scaffold/TESTING.txt
  6. main core/lib/Drupal/Component/Render/TESTING.txt
  7. main core/lib/Drupal/Component/Assertion/TESTING.txt
  8. main core/lib/Drupal/Component/Discovery/TESTING.txt
  9. main core/lib/Drupal/Component/FileSecurity/TESTING.txt
  10. main core/lib/Drupal/Component/Utility/TESTING.txt
  11. main core/lib/Drupal/Component/Graph/TESTING.txt
  12. main core/lib/Drupal/Component/DependencyInjection/TESTING.txt
  13. main core/lib/Drupal/Component/FrontMatter/TESTING.txt
  14. main core/lib/Drupal/Component/Version/TESTING.txt
  15. main core/lib/Drupal/Component/Serialization/TESTING.txt
  16. main core/lib/Drupal/Component/ClassFinder/TESTING.txt
  17. main core/lib/Drupal/Component/ProxyBuilder/TESTING.txt
  18. main core/lib/Drupal/Component/EventDispatcher/TESTING.txt
  19. main core/lib/Drupal/Component/Diff/TESTING.txt
  20. main core/lib/Drupal/Component/FileSystem/TESTING.txt
  21. main core/lib/Drupal/Component/Gettext/TESTING.txt
  22. main core/lib/Drupal/Component/PhpStorage/TESTING.txt
  23. main core/lib/Drupal/Component/Datetime/TESTING.txt
  24. main core/lib/Drupal/Component/Transliteration/TESTING.txt
  25. main core/lib/Drupal/Component/Annotation/TESTING.txt
  26. main core/lib/Drupal/Component/HttpFoundation/TESTING.txt
  27. main core/lib/Drupal/Component/Uuid/TESTING.txt
  28. main core/lib/Drupal/Component/Plugin/TESTING.txt
Same filename and directory in other branches
  1. 10 composer/Generator/TESTING.txt
  2. 10 composer/Plugin/ProjectMessage/TESTING.txt
  3. 10 composer/Plugin/Scaffold/TESTING.txt
  4. 10 composer/Plugin/VendorHardening/TESTING.txt
  5. 11.x composer/Generator/TESTING.txt
  6. 11.x composer/Plugin/ProjectMessage/TESTING.txt
  7. 11.x composer/Plugin/Scaffold/TESTING.txt
  8. 11.x composer/Plugin/VendorHardening/TESTING.txt
  9. 11.x core/assets/scaffold/TESTING.txt
  10. 11.x core/lib/Drupal/Component/Render/TESTING.txt
  11. 11.x core/lib/Drupal/Component/Assertion/TESTING.txt
  12. 11.x core/lib/Drupal/Component/Discovery/TESTING.txt
  13. 11.x core/lib/Drupal/Component/FileSecurity/TESTING.txt
  14. 11.x core/lib/Drupal/Component/FileCache/TESTING.txt
  15. 11.x core/lib/Drupal/Component/Utility/TESTING.txt
  16. 11.x core/lib/Drupal/Component/Graph/TESTING.txt
  17. 11.x core/lib/Drupal/Component/DependencyInjection/TESTING.txt
  18. 11.x core/lib/Drupal/Component/FrontMatter/TESTING.txt
  19. 11.x core/lib/Drupal/Component/Version/TESTING.txt
  20. 11.x core/lib/Drupal/Component/Serialization/TESTING.txt
  21. 11.x core/lib/Drupal/Component/ClassFinder/TESTING.txt
  22. 11.x core/lib/Drupal/Component/ProxyBuilder/TESTING.txt
  23. 11.x core/lib/Drupal/Component/EventDispatcher/TESTING.txt
  24. 11.x core/lib/Drupal/Component/Diff/TESTING.txt
  25. 11.x core/lib/Drupal/Component/FileSystem/TESTING.txt
  26. 11.x core/lib/Drupal/Component/Gettext/TESTING.txt
  27. 11.x core/lib/Drupal/Component/PhpStorage/TESTING.txt
  28. 11.x core/lib/Drupal/Component/Datetime/TESTING.txt
  29. 11.x core/lib/Drupal/Component/Transliteration/TESTING.txt
  30. 11.x core/lib/Drupal/Component/Annotation/TESTING.txt
  31. 11.x core/lib/Drupal/Component/HttpFoundation/TESTING.txt
  32. 11.x core/lib/Drupal/Component/Uuid/TESTING.txt
  33. 11.x core/lib/Drupal/Component/Plugin/TESTING.txt
  34. 10 core/assets/scaffold/TESTING.txt
  35. 10 core/lib/Drupal/Component/Render/TESTING.txt
  36. 10 core/lib/Drupal/Component/Assertion/TESTING.txt
  37. 10 core/lib/Drupal/Component/Discovery/TESTING.txt
  38. 10 core/lib/Drupal/Component/FileSecurity/TESTING.txt
  39. 10 core/lib/Drupal/Component/FileCache/TESTING.txt
  40. 10 core/lib/Drupal/Component/Utility/TESTING.txt
  41. 10 core/lib/Drupal/Component/Graph/TESTING.txt
  42. 10 core/lib/Drupal/Component/DependencyInjection/TESTING.txt
  43. 10 core/lib/Drupal/Component/FrontMatter/TESTING.txt
  44. 10 core/lib/Drupal/Component/Version/TESTING.txt
  45. 10 core/lib/Drupal/Component/Serialization/TESTING.txt
  46. 10 core/lib/Drupal/Component/ClassFinder/TESTING.txt
  47. 10 core/lib/Drupal/Component/ProxyBuilder/TESTING.txt
  48. 10 core/lib/Drupal/Component/EventDispatcher/TESTING.txt
  49. 10 core/lib/Drupal/Component/Diff/TESTING.txt
  50. 10 core/lib/Drupal/Component/FileSystem/TESTING.txt
  51. 10 core/lib/Drupal/Component/Gettext/TESTING.txt
  52. 10 core/lib/Drupal/Component/PhpStorage/TESTING.txt
  53. 10 core/lib/Drupal/Component/Datetime/TESTING.txt
  54. 10 core/lib/Drupal/Component/Transliteration/TESTING.txt
  55. 10 core/lib/Drupal/Component/Annotation/TESTING.txt
  56. 10 core/lib/Drupal/Component/HttpFoundation/TESTING.txt
  57. 10 core/lib/Drupal/Component/Uuid/TESTING.txt
  58. 10 core/lib/Drupal/Component/Plugin/TESTING.txt
  59. 9 composer/Generator/TESTING.txt
  60. 9 composer/Plugin/ProjectMessage/TESTING.txt
  61. 9 composer/Plugin/Scaffold/TESTING.txt
  62. 9 composer/Plugin/VendorHardening/TESTING.txt
  63. 9 core/assets/scaffold/TESTING.txt
  64. 9 core/lib/Drupal/Component/Render/TESTING.txt
  65. 9 core/lib/Drupal/Component/Assertion/TESTING.txt
  66. 9 core/lib/Drupal/Component/Discovery/TESTING.txt
  67. 9 core/lib/Drupal/Component/FileSecurity/TESTING.txt
  68. 9 core/lib/Drupal/Component/FileCache/TESTING.txt
  69. 9 core/lib/Drupal/Component/Utility/TESTING.txt
  70. 9 core/lib/Drupal/Component/Graph/TESTING.txt
  71. 9 core/lib/Drupal/Component/DependencyInjection/TESTING.txt
  72. 9 core/lib/Drupal/Component/FrontMatter/TESTING.txt
  73. 9 core/lib/Drupal/Component/Version/TESTING.txt
  74. 9 core/lib/Drupal/Component/Serialization/TESTING.txt
  75. 9 core/lib/Drupal/Component/ClassFinder/TESTING.txt
  76. 9 core/lib/Drupal/Component/ProxyBuilder/TESTING.txt
  77. 9 core/lib/Drupal/Component/EventDispatcher/TESTING.txt
  78. 9 core/lib/Drupal/Component/Diff/TESTING.txt
  79. 9 core/lib/Drupal/Component/FileSystem/TESTING.txt
  80. 9 core/lib/Drupal/Component/Gettext/TESTING.txt
  81. 9 core/lib/Drupal/Component/Bridge/TESTING.txt
  82. 9 core/lib/Drupal/Component/PhpStorage/TESTING.txt
  83. 9 core/lib/Drupal/Component/Datetime/TESTING.txt
  84. 9 core/lib/Drupal/Component/Transliteration/TESTING.txt
  85. 9 core/lib/Drupal/Component/Annotation/TESTING.txt
  86. 9 core/lib/Drupal/Component/HttpFoundation/TESTING.txt
  87. 9 core/lib/Drupal/Component/Uuid/TESTING.txt
  88. 9 core/lib/Drupal/Component/Plugin/TESTING.txt
  89. 8.9.x composer/Generator/TESTING.txt
  90. 8.9.x composer/Plugin/ProjectMessage/TESTING.txt
  91. 8.9.x composer/Plugin/Scaffold/TESTING.txt
  92. 8.9.x composer/Plugin/VendorHardening/TESTING.txt
  93. 8.9.x core/assets/scaffold/TESTING.txt
  94. 8.9.x core/lib/Drupal/Component/Render/TESTING.txt
  95. 8.9.x core/lib/Drupal/Component/Assertion/TESTING.txt
  96. 8.9.x core/lib/Drupal/Component/Discovery/TESTING.txt
  97. 8.9.x core/lib/Drupal/Component/FileSecurity/TESTING.txt
  98. 8.9.x core/lib/Drupal/Component/FileCache/TESTING.txt
  99. 8.9.x core/lib/Drupal/Component/Utility/TESTING.txt
  100. 8.9.x core/lib/Drupal/Component/Graph/TESTING.txt
  101. 8.9.x core/lib/Drupal/Component/DependencyInjection/TESTING.txt
  102. 8.9.x core/lib/Drupal/Component/Version/TESTING.txt
  103. 8.9.x core/lib/Drupal/Component/Serialization/TESTING.txt
  104. 8.9.x core/lib/Drupal/Component/ClassFinder/TESTING.txt
  105. 8.9.x core/lib/Drupal/Component/ProxyBuilder/TESTING.txt
  106. 8.9.x core/lib/Drupal/Component/EventDispatcher/TESTING.txt
  107. 8.9.x core/lib/Drupal/Component/Diff/TESTING.txt
  108. 8.9.x core/lib/Drupal/Component/FileSystem/TESTING.txt
  109. 8.9.x core/lib/Drupal/Component/Gettext/TESTING.txt
  110. 8.9.x core/lib/Drupal/Component/Bridge/TESTING.txt
  111. 8.9.x core/lib/Drupal/Component/PhpStorage/TESTING.txt
  112. 8.9.x core/lib/Drupal/Component/Datetime/TESTING.txt
  113. 8.9.x core/lib/Drupal/Component/Transliteration/TESTING.txt
  114. 8.9.x core/lib/Drupal/Component/Annotation/TESTING.txt
  115. 8.9.x core/lib/Drupal/Component/HttpFoundation/TESTING.txt
  116. 8.9.x core/lib/Drupal/Component/Uuid/TESTING.txt
  117. 8.9.x core/lib/Drupal/Component/Plugin/TESTING.txt
HOW-TO: Test this Drupal component

In order to test this component, you'll need to get the entire Drupal repo and
run the tests there.

You'll find the tests under core/tests/Drupal/Tests/Component.

You can get the full Drupal repo here:
https://www.drupal.org/project/drupal/git-instructions

You can find more information about running PHPUnit tests with Drupal here:
https://www.drupal.org/node/2116263

Each component in the Drupal\Component namespace has its own annotated test
group. You can use this group to run only the tests for this component. Like
this:

$ ./vendor/bin/phpunit -c core --group FileCache

File

core/lib/Drupal/Component/FileCache/TESTING.txt

View source
  1. HOW-TO: Test this Drupal component
  2. In order to test this component, you'll need to get the entire Drupal repo and
  3. run the tests there.
  4. You'll find the tests under core/tests/Drupal/Tests/Component.
  5. You can get the full Drupal repo here:
  6. https://www.drupal.org/project/drupal/git-instructions
  7. You can find more information about running PHPUnit tests with Drupal here:
  8. https://www.drupal.org/node/2116263
  9. Each component in the Drupal\Component namespace has its own annotated test
  10. group. You can use this group to run only the tests for this component. Like
  11. this:
  12. $ ./vendor/bin/phpunit -c core --group FileCache

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.