You are here

TESTING.txt in Drupal 8

Same filename in this branch
  1. 8 composer/Generator/TESTING.txt
  2. 8 composer/Plugin/VendorHardening/TESTING.txt
  3. 8 composer/Plugin/ProjectMessage/TESTING.txt
  4. 8 composer/Plugin/Scaffold/TESTING.txt
  5. 8 core/assets/scaffold/TESTING.txt
  6. 8 core/lib/Drupal/Component/Datetime/TESTING.txt
  7. 8 core/lib/Drupal/Component/DependencyInjection/TESTING.txt
  8. 8 core/lib/Drupal/Component/Transliteration/TESTING.txt
  9. 8 core/lib/Drupal/Component/FileSystem/TESTING.txt
  10. 8 core/lib/Drupal/Component/Utility/TESTING.txt
  11. 8 core/lib/Drupal/Component/Assertion/TESTING.txt
  12. 8 core/lib/Drupal/Component/HttpFoundation/TESTING.txt
  13. 8 core/lib/Drupal/Component/Annotation/TESTING.txt
  14. 8 core/lib/Drupal/Component/Diff/TESTING.txt
  15. 8 core/lib/Drupal/Component/FileSecurity/TESTING.txt
  16. 8 core/lib/Drupal/Component/ProxyBuilder/TESTING.txt
  17. 8 core/lib/Drupal/Component/Discovery/TESTING.txt
  18. 8 core/lib/Drupal/Component/Serialization/TESTING.txt
  19. 8 core/lib/Drupal/Component/EventDispatcher/TESTING.txt
  20. 8 core/lib/Drupal/Component/FileCache/TESTING.txt
  21. 8 core/lib/Drupal/Component/ClassFinder/TESTING.txt
  22. 8 core/lib/Drupal/Component/Plugin/TESTING.txt
  23. 8 core/lib/Drupal/Component/Gettext/TESTING.txt
  24. 8 core/lib/Drupal/Component/PhpStorage/TESTING.txt
  25. 8 core/lib/Drupal/Component/Graph/TESTING.txt
  26. 8 core/lib/Drupal/Component/Render/TESTING.txt
  27. 8 core/lib/Drupal/Component/Bridge/TESTING.txt
  28. 8 core/lib/Drupal/Component/Uuid/TESTING.txt
  29. 8 core/lib/Drupal/Component/Version/TESTING.txt
Same filename and directory in other branches
  1. 9 core/assets/scaffold/TESTING.txt
  2. 10 core/assets/scaffold/TESTING.txt
HOW-TO: Test these Drupal scaffold files

In order to test these scaffold files, you'll need to get the entire Drupal repo and
run the tests there.

You'll find the tests in core/tests/Drupal/Tests/ComposerIntegrationTest.php.

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

You can run a single phpunit test file like so:

$ ./vendor/bin/phpunit -c core core/tests/Drupal/Tests/ComposerIntegrationTest.php

File

core/assets/scaffold/TESTING.txt
View source
  1. HOW-TO: Test these Drupal scaffold files
  2. In order to test these scaffold files, you'll need to get the entire Drupal repo and
  3. run the tests there.
  4. You'll find the tests in core/tests/Drupal/Tests/ComposerIntegrationTest.php.
  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. You can run a single phpunit test file like so:
  10. $ ./vendor/bin/phpunit -c core core/tests/Drupal/Tests/ComposerIntegrationTest.php