Mercurial > hg > cmmr2012-drupal-site
annotate core/lib/Drupal/Component/Transliteration/TESTING.txt @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
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 --group Transliteration |