annotate core/lib/Drupal/Component/Version/TESTING.txt @ 19:fa3358dc1485 tip

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