Requries core dev tools:
composer require drupal/core-dev
Run phpunit w/no configuration and use core bootstrap file. Note, this needs full path to bootstrap file.
vendor/bin/phpunit --no-configuration --bootstrap /app/web/core/tests/bootstrap.php web/modules/custom/
To run on drupal.org:
- Add the .gitlab-ci.yml file
- Ensure the project has a
composer.json
file