2013-06-04 15:55:44 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-04-09 10:42:06 +02:00
|
|
|
<phpunit bootstrap="bootstrap.php">
|
2013-06-04 15:55:44 +02:00
|
|
|
<testsuites>
|
|
|
|
<!--
|
|
|
|
Unit testing
|
|
|
|
-->
|
|
|
|
<testsuite name="unit">
|
|
|
|
<directory>application/</directory>
|
|
|
|
<directory>bin/</directory>
|
|
|
|
<directory>library/</directory>
|
2013-07-04 14:48:30 +02:00
|
|
|
|
|
|
|
<!-- Module tests are independent from core tests -->
|
|
|
|
<directory>../../modules/*/test/php</directory>
|
|
|
|
<exclude>../../modules/*/test/php/regression</exclude>
|
2013-06-04 15:55:44 +02:00
|
|
|
</testsuite>
|
2013-05-31 13:47:15 +02:00
|
|
|
|
2013-06-04 15:55:44 +02:00
|
|
|
<!--
|
|
|
|
Regression testing
|
|
|
|
-->
|
|
|
|
<testsuite name="regression">
|
|
|
|
<directory>regression/</directory>
|
2013-07-04 14:48:30 +02:00
|
|
|
<directory>../../modules/*/test/regression</directory>
|
2013-06-04 15:55:44 +02:00
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
2013-06-27 11:39:08 +02:00
|
|
|
<filter>
|
2014-04-28 14:03:52 +02:00
|
|
|
<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>
|
2013-07-18 18:00:44 +02:00
|
|
|
</filter>
|
2014-04-11 09:35:19 +02:00
|
|
|
<listeners>
|
|
|
|
<listener class="\Mockery\Adapter\Phpunit\TestListener"></listener>
|
|
|
|
</listeners>
|
2013-06-06 15:41:47 +02:00
|
|
|
</phpunit>
|