mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
README: change documentation about how to run the tests
This commit is contained in:
parent
d14a0d1cdb
commit
75852ad0fe
10
README.md
10
README.md
@ -227,15 +227,11 @@ local npm project in a clone a project
|
||||
git https://github.com/ovh/php-ovh.git
|
||||
cd php-ovh
|
||||
php composer.phar install
|
||||
vendor/bin/phpunit tests/ApiTest.php
|
||||
|
||||
Edit **phpunit.xml** file with your credentials to pass functionals tests. Then,
|
||||
you can run directly unit and functionals tests with [phing](http://www.phing.info/).
|
||||
To run functionals tests, you need to provide valid API credentials, that you can provide them via environment:
|
||||
|
||||
vendor/bin/phing test
|
||||
|
||||
To skip functionals and run unit tests only, you can use the `only.units` option :
|
||||
|
||||
vendor/bin/phing test -Donly.units=true
|
||||
APP_KEY=xxx APP_SECRET=xxx CONSUMER=xxx ENDPOINT=xxx vendor/bin/phpunit tests/ApiFunctionalTest.php
|
||||
|
||||
Supported APIs
|
||||
--------------
|
||||
|
Loading…
Reference in New Issue
Block a user