1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00
php-ovh/phpunit.xml.dist
Christophe Coevoet 1d4d6f87f1 Improve the PHPUnit setup
- allow maintained versions of PHPUnit 4 instead of the old 4.0 only
- add the code coverage configuration to cover only the library code and
  not all tests and vendors as well
- move the configuration to phpunit.xml.dist to follow PHPUnit best
  practices

Signed-off-by: Christophe Coevoet <stof@notk.org>
2015-03-19 17:12:20 +01:00

20 lines
536 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="OVH APIs wrapper">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<env name="ENDPOINT" value=""/>
<env name="APP_KEY" value=""/>
<env name="APP_SECRET" value=""/>
<env name="CONSUMER" value=""/>
</php>
<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
</phpunit>