Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Cannot retrieve contributors at this time
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.
- Build the Site Under Test:
- Run test suite:
- Run only tests matching a regex:
- Skip slow tests (usually those with network usage):
unish.phpunit.php --exclude-group slow
- XML results:
unish.phpunit.php --filter=testVersionString --log-junit results.xml
- Build the SUT and run test suite (slower) -
- Install the SUT in a given folder -
UNISH_TMP=/path/to/folder php unish.sut.php
Press h to open a hovercard with more details.