Drush's test suite is based on PHPUnit. In order to maintain high quality, our tests are run on every push.
- Review the configuration settings in tests/phpunit.xml.dist. If customization is needed, copy to phpunit.xml and edit away.
- Run test suite:
composer test
- Run only tests matching a regex:
composer functional -- --filter testVersionString
- Skip slow tests (usually those with network usage):
composer functional -- --exclude-group slow
- XML results:
composer functional -- --log-junit results.xml