Files
librenms-librenms/phpunit.xml.dist
T
Gianluca Arbezzano e125b296f9 phpunit configuration improvement
This feature implement env parameters for phpUnit configuration.
This upgrade is a first step for multi influxdb version testing
2015-03-23 22:28:18 +01:00

33 lines
1.1 KiB
XML

<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="false">
<testsuites>
<testsuite name="InfluxDB SDK Integration Tests">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<env name="UDP_PORT" value="5551"/>
<env name="UDP_DB" value="udp.test"/>
<env name="TCP_PORT" value="8086"/>
<env name="TCP_DB" value="tcp.test"/>
<env name="TCP_PROTOCOL" value="http"/>
<env name="HOST" value="localhost"/>
<env name="USERNAME" value="root"/>
<env name="PASSWORD" value="root"/>
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</phpunit>