Mercurial > hg > isophonics-drupal-site
annotate core/lib/Drupal/Component/Plugin/TESTING.txt @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 HOW-TO: Test this Drupal component |
Chris@0 | 2 |
Chris@0 | 3 In order to test this component, you'll need to get the entire Drupal repo and |
Chris@0 | 4 run the tests there. |
Chris@0 | 5 |
Chris@0 | 6 You'll find the tests under core/tests/Drupal/Tests/Component. |
Chris@0 | 7 |
Chris@0 | 8 You can get the full Drupal repo here: |
Chris@0 | 9 https://www.drupal.org/project/drupal/git-instructions |
Chris@0 | 10 |
Chris@0 | 11 You can find more information about running PHPUnit tests with Drupal here: |
Chris@0 | 12 https://www.drupal.org/node/2116263 |
Chris@0 | 13 |
Chris@0 | 14 Each component in the Drupal\Component namespace has its own annotated test |
Chris@0 | 15 group. You can use this group to run only the tests for this component. Like |
Chris@0 | 16 this: |
Chris@0 | 17 |
Chris@0 | 18 $ ./vendor/bin/phpunit -c core --group Plugin |