41 lines
1.4 KiB
XML
41 lines
1.4 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>
|
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">../../application</directory>
|
|
<directory suffix=".php">../../library/Icinga</directory>
|
|
<directory suffix=".php">../../modules</directory>
|
|
<exclude>
|
|
<file>../../library/Icinga/Application/functions.php</file>
|
|
<file>../../library/Icinga/Application/webrouter.php</file>
|
|
<directory>../../library/Icinga/Web/View/helpers</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
<listeners>
|
|
<listener class="\Mockery\Adapter\Phpunit\TestListener"></listener>
|
|
</listeners>
|
|
</phpunit>
|