move phpunit.xml to the root dir

This commit is contained in:
scribu 2012-12-29 17:41:13 +02:00
parent 7c9db7f437
commit 2383656b3e
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
/dist /dist
/vendor /vendor
/composer.lock /composer.lock
/phpunit.xml

View file

@ -41,9 +41,9 @@ Running the following as root in MySQL should do the trick:


Finally, to run the tests: 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 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: 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