generated from open-southeners/php-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.coverage.dist.xml
40 lines (40 loc) · 1.25 KB
/
phpunit.coverage.dist.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
39
40
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
backupGlobals="false"
colors="true"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">./src/Attributes</directory>
</exclude>
</source>
<coverage includeUncoveredFiles="true"
pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
<report>
<clover outputFile="clover.xml"/>
</report>
</coverage>
<testsuites>
<testsuite name="Package Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<ini name="memory_limit" value="2048M"/>
<env name="DB_CONNECTION" value="sqlite" force="true"/>
<env name="DB_DATABASE" value=":memory:" force="true"/>
<env name="SCOUT_DRIVER" value="meilisearch" force="true"/>
<env name="MEILISEARCH_HOST" value="http://localhost:7700" force="true"/>
<env name="MEILISEARCH_KEY" value="1234" force="true"/>
</php>
</phpunit>