This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
38 lines (38 loc) · 1.56 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>./src/macro/route.php</file>
<file>./src/ide_helpers.php</file>
</exclude>
<report>
<clover outputFile="./build/coverage/clover.xml"/>
<html outputDirectory="./build/coverage/html"/>
<xml outputDirectory="./build/coverage/coverage-xml"/>
</report>
</coverage>
<testsuites>
<testsuite name="All_Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
<testsuite name="Unit_Tests">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="MAIL_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="sqlite_testing"/>
<env name="LOG_CHANNEL" value="test"/>
</php>
<logging>
<junit outputFile="./build/coverage/junit.xml"/>
</logging>
</phpunit>