This commit is contained in:
Gregory Letellier
2023-10-26 14:34:20 +02:00
commit a2dc633be4
14 changed files with 5206 additions and 0 deletions

22
phpunit.xml Normal file
View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheResultFile="./var/cache/"
>
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true" cacheDirectory="./var/cache/">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<php>
<env name="DB_TYPE" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
</php>
</phpunit>