-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
69 lines (69 loc) · 2.02 KB
/
phpunit.xml.dist
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
cacheResultFile="build/phpunit/.phpunit.result.cache"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<!--executionOrder="depends,defects"-->
<!--resolveDependencies="true"-->
<!--printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer"-->
<!--testdox="true"-->
<!--executionOrder="random"-->
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
<exclude>
<file>src/Skeleton.php</file>
</exclude>
</coverage>
<testsuites>
<testsuite name="Guanguans Test Suite">
<directory>tests/</directory>
<exclude>vendor/</exclude>
</testsuite>
</testsuites>
<extensions>
<!--<extension class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>-->
<!--<bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>-->
<extension class="Ergebnis\PHPUnit\SlowTestDetector\Extension">
<arguments>
<array>
<element key="maximum-count">
<integer>3</integer>
</element>
<element key="maximum-duration">
<integer>250</integer>
</element>
</array>
</arguments>
</extension>
</extensions>
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
<arguments>
<array>
<element key="slowThreshold">
<integer>500</integer>
</element>
<element key="reportLength">
<integer>10</integer>
</element>
<element key="stopOnSlow">
<boolean>false</boolean>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>