Build/Test Tools: Add a readme note on passing parameters into the PHPUnit tests.

Follow-up to [45745], [47743].

Props pbearne, costdev.
Fixes #59624.

git-svn-id: https://develop.svn.wordpress.org/trunk@57134 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2023-11-24 14:07:00 +00:00
parent 09a2050fca
commit 5ff4794ef1

View File

@ -87,6 +87,13 @@ npm run test:php
npm run test:e2e
```
You can pass extra parameters into the PHP tests by adding `--` and then the [command-line options](https://docs.phpunit.de/en/10.4/textui.html#command-line-options):
```
npm run test:php -- --filter <test name>
npm run test:php -- --group <group name or ticket number>
```
#### To restart the development environment
You may want to restart the environment if you've made changes to the configuration in the `docker-compose.yml` or `.env` files. Restart the environment with: