jilo-web/tests/phpunit.xml

33 lines
1.1 KiB
XML
Raw Normal View History

2025-02-18 14:36:31 +00:00
<?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="bootstrap.php"
colors="true"
testdox="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./Unit</directory>
</testsuite>
2025-02-20 08:41:14 +00:00
<testsuite name="Feature">
<directory suffix="Test.php">./Feature</directory>
</testsuite>
<testsuite name="Functional">
<directory suffix="Test.php">./Functional</directory>
</testsuite>
2025-02-18 14:36:31 +00:00
</testsuites>
<coverage processUncoveredFiles="true">
<include>
2025-02-20 08:41:14 +00:00
<directory suffix=".php">../app</directory>
2025-02-18 14:36:31 +00:00
</include>
<exclude>
2025-02-20 08:41:14 +00:00
<directory>../app/templates</directory>
<directory>../app/includes</directory>
2025-02-18 14:36:31 +00:00
</exclude>
</coverage>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
</php>
</phpunit>