TESTING.txt
Same filename in this branch
- 11.1.x composer/Generator/TESTING.txt
- 11.1.x composer/Plugin/ProjectMessage/TESTING.txt
- 11.1.x composer/Plugin/VendorHardening/TESTING.txt
- 11.1.x composer/Plugin/Scaffold/TESTING.txt
- 11.1.x core/lib/Drupal/Component/FileCache/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Transliteration/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Assertion/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Discovery/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Graph/TESTING.txt
- 11.1.x core/lib/Drupal/Component/PhpStorage/TESTING.txt
- 11.1.x core/lib/Drupal/Component/ClassFinder/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Datetime/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Serialization/TESTING.txt
- 11.1.x core/lib/Drupal/Component/FileSecurity/TESTING.txt
- 11.1.x core/lib/Drupal/Component/HttpFoundation/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Annotation/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Gettext/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Plugin/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Version/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Render/TESTING.txt
- 11.1.x core/lib/Drupal/Component/ProxyBuilder/TESTING.txt
- 11.1.x core/lib/Drupal/Component/FrontMatter/TESTING.txt
- 11.1.x core/lib/Drupal/Component/DependencyInjection/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Uuid/TESTING.txt
- 11.1.x core/lib/Drupal/Component/EventDispatcher/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Utility/TESTING.txt
- 11.1.x core/lib/Drupal/Component/Diff/TESTING.txt
- 11.1.x core/assets/scaffold/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 FileSystem
File
-
core/
lib/ Drupal/ Component/ FileSystem/ TESTING.txt
View source
- 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 FileSystem