Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / tests / README.md
1 Drush's test suite is based on [PHPUnit](http://www.phpunit.de). In order to maintain
2 high quality, our tests are run on every push by [Travis](https://travis-ci.org/drush-ops/drush)
3
4 Usage
5 --------
6 1. Review the configuration settings in [tests/phpunit.xml.dist](phpunit.xml.dist). If customization is needed, copy to phpunit.xml and edit away.
7 1. Build the Site Under Test: `unish.sut.php`
8 1. Run test suite: `unish.phpunit.php`
9
10 Advanced usage
11 ---------
12 - Run only tests matching a regex: `unish.phpunit.php --filter=testVersionString`
13 - Skip slow tests (usually those with network usage): `unish.phpunit.php --exclude-group slow`
14 - XML results: `unish.phpunit.php --filter=testVersionString --log-junit results.xml`
15 - Build the SUT and run test suite (slower) - `unish.clean.php`
16 - Install the SUT in a given folder - `UNISH_TMP=/path/to/folder php unish.sut.php`