"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/lib/Drupal/Component/PhpStorage/TESTING.txt" (26 Nov 2020, 619 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "TESTING.txt" see the Fossies "Dox" file reference documentation.

    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 PhpStorage