icingaweb2/test/php/phpunit.xml

35 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="bootstrap.php">
<testsuites>
<!--
Unit testing
-->
<testsuite name="unit">
<directory>application/</directory>
<directory>bin/</directory>
<directory>library/</directory>
<!-- Module tests are independent from core tests -->
<directory>../../modules/*/test/php</directory>
<exclude>../../modules/*/test/php/regression</exclude>
</testsuite>
<!--
Regression testing
-->
<testsuite name="regression">
<directory>regression/</directory>
<directory>../../modules/*/test/regression</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">/usr/share/php</directory>
<directory suffix=".php">/usr/lib</directory>
</blacklist>
</filter>
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener"></listener>
</listeners>
</phpunit>