TESTING.txt 568 B

12345678910111213141516
  1. HOW-TO: Test these Drupal scaffold files
  2. In order to test these scaffold files, you'll need to get the entire Drupal repo and
  3. run the tests there.
  4. You'll find the tests in core/tests/Drupal/Tests/ComposerIntegrationTest.php.
  5. You can get the full Drupal repo here:
  6. https://www.drupal.org/project/drupal/git-instructions
  7. You can find more information about running PHPUnit tests with Drupal here:
  8. https://www.drupal.org/node/2116263
  9. You can run a single phpunit test file like so:
  10. $ ./vendor/bin/phpunit -c core core/tests/Drupal/Tests/ComposerIntegrationTest.php