Drush's test suite is based on PHPUnit. In order to maintain high quality, our tests are run on every push by Travis
- Review the configuration settings in tests/phpunit.xml.dist. If customization is needed, copy to phpunit.xml and edit away.
- Run unit tests:
unish.clean.php
- Run only tests matching a regex:
unish.clean.php --filter=testVersionString
- Skip slow tests (usually those with network usage):
unish.clean.php --exclude-group slow
- XML results:
unish.clean.php --filter=testVersionString --log-junit results.xml
- Skip rebuild of Site-Under_Test (presumably for speed) -
unish.phpunit.php