shlink/phpunit-db.xml
2023-02-09 09:32:38 +01:00

25 lines
973 B
XML

<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="./config/test/bootstrap_db_tests.php"
colors="true"
cacheDirectory="build/.phpunit/db-tests.cache"
>
<testsuites>
<testsuite name="Shlink database tests">
<directory>./module/*/test-db</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./module/*/src/Repository</directory>
<directory suffix=".php">./module/*/src/**/Repository</directory>
<directory suffix=".php">./module/*/src/**/**/Repository</directory>
<directory suffix=".php">./module/*/src/Spec</directory>
<directory suffix=".php">./module/*/src/**/Spec</directory>
<directory suffix=".php">./module/*/src/**/**/Spec</directory>
</include>
</coverage>
</phpunit>