mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
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:
parent
09a2050fca
commit
5ff4794ef1
@ -87,6 +87,13 @@ npm run test:php
|
|||||||
npm run test:e2e
|
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
|
#### 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:
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user