Skip to content

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Drush's test suite is based on PHPUnit. In order to maintain high quality, our tests are run on every push by Travis

Usage

  1. Review the configuration settings in tests/phpunit.xml.dist. If customization is needed, copy to phpunit.xml and edit away.
  2. Run unit tests: unish.clean.php

Advanced usage

  • 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