annotate core/lib/Drupal/Component/Version/TESTING.txt @ 5:12f9dff5fda9 tip

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