shlink/phpunit.xml.dist
2021-01-24 22:56:43 +01:00

33 lines
1.2 KiB
XML

<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="./vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Core">
<directory>./module/Core/test</directory>
</testsuite>
<testsuite name="Rest">
<directory>./module/Rest/test</directory>
</testsuite>
<testsuite name="CLI">
<directory>./module/CLI/test</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./module/*/src</directory>
</include>
<exclude>
<directory suffix=".php">./module/Core/src/Repository</directory>
<directory suffix=".php">./module/Core/src/**/Repository</directory>
<directory suffix=".php">./module/Core/src/**/**/Repository</directory>
<directory suffix=".php">./module/Core/src/Spec</directory>
<directory suffix=".php">./module/Core/src/**/Spec</directory>
<directory suffix=".php">./module/Core/src/**/**/Spec</directory>
</exclude>
</coverage>
</phpunit>