-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
35 lines (34 loc) · 1.71 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.3/phpunit.xsd" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" stopOnFailure="true" colors="true" verbose="true" beStrictAboutCoversAnnotation="false" beStrictAboutOutputDuringTests="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutTodoAnnotatedTests="true" beStrictAboutChangesToGlobalState="true" cacheResult="true" cacheResultFile="build/.pures.cache">
<php>
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<ini name="memory_limit" value="384M" />
</php>
<groups>
<exclude>
<group>ignore</group>
</exclude>
</groups>
<testsuites>
<testsuite name="all">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html" showUncoveredFiles="true" target="coverage/" lowUpperBound="50" highLowerBound="75"/>
<log type="coverage-clover" target="build/logs/coverage.clover"/>
<log type="coverage-xml" target="build/logs/coverage/xml"/>
<log type="junit" target="build/logs/junit.xml"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">vendor/</directory>
<file>src/index.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>