-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
56 lines (56 loc) · 2.15 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">src/Commands/</directory>
<file>src/VersioningServiceProvider.php</file>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="NunoMaduro\Collision\Adapters\Phpunit\Listener" />
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
<arguments>
<array>
<element key="slowThreshold">
<integer>10000</integer>
</element>
<element key="reportLength">
<integer>10</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
<logging>
<log type="coverage-clover" target="tests/_reports/clover.xml"/>
<log type="coverage-html" target="tests/_reports/coverage" lowUpperBound="35" highLowerBound="70" />
<log type="testdox-text" target="tests/_reports/testdox/executed.txt"/>
</logging>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="redis"/>
<env name="SESSION_DRIVER" value="redis"/>
<env name="QUEUE_DRIVER" value="redis"/>
<env name="TEST_DATASET_SIZE" value="500" />
<env name="TEST_FEATURE_DATASET_SIZE" value="2" />
<env name="GITHUB_ORG_NAME" value="Jersak" />
<env name="GITHUB_REPO_NAME" value="lib-laravel-git-versioning" />
</php>
</phpunit>