mirror of
https://fast.feibisi.com/https://github.com/wp-cli/scaffold-command.git
synced 2025-10-04 17:01:28 +08:00
move phpunit.xml to the root dir
This commit is contained in:
parent
7c9db7f437
commit
2383656b3e
2 changed files with 3 additions and 2 deletions
|
@ -41,9 +41,9 @@ Running the following as root in MySQL should do the trick:
|
|||
|
||||
Finally, to run the tests:
|
||||
|
||||
vendor/bin/phpunit -c tests/phpunit.xml
|
||||
vendor/bin/phpunit
|
||||
|
||||
Most tests install WordPress from scratch. Since this is pretty slow, you can
|
||||
use arguments to `phpunit` to only run the test that you're interested in:
|
||||
|
||||
vendor/bin/phpunit -c tests/phpunit.xml --filter test_function_you_want_to_run tests
|
||||
vendor/bin/phpunit --filter test_function_you_want_to_run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue