Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Component / Utility / TESTING.txt
1 HOW-TO: Test this Drupal component
2
3 In order to test this component, you'll need to get the entire Drupal repo and
4 run the tests there.
5
6 You'll find the tests under core/tests/Drupal/Tests/Component.
7
8 You can get the full Drupal repo here:
9 https://www.drupal.org/project/drupal/git-instructions
10
11 You can find more information about running PHPUnit tests with Drupal here:
12 https://www.drupal.org/node/2116263
13
14 Each component in the Drupal\Component namespace has its own annotated test
15 group. You can use this group to run only the tests for this component. Like
16 this:
17
18 $ ./vendor/bin/phpunit -c core --group Utility