Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Docker
Drush's own tests may be run within provided Docker containers (see docker-compose.yml):

- Start containers: `docker-compose up -d`
- Run a test: `docker-compose exec php composer functional -- --filter testVersionString`
- Run a test: `docker-compose exec drupal composer functional -- --filter testUserRole`
- To change configuration, copy .env.example to .env, edit to taste, and run `docker-compose up -d` again
- See that .env.example file for help on enabling Xdebug.

Advanced usage
---------
- Run only tests matching a regex: `composer functional -- --filter testVersionString`
- Run only tests matching a regex: `composer functional -- --filter testUserRole`
- Skip slow tests (usually those with network usage): `composer functional -- --exclude-group slow`
- XML results: `composer functional -- --log-junit results.xml`
- XML results: `composer functional -- --log-junit results.xml`