-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
55 lines (50 loc) · 1.71 KB
/
phpunit.xml
File metadata and controls
55 lines (50 loc) · 1.71 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Pierre's PHPUnit configuration - he tests everything! 🪨 -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
requireCoverageMetadata="false"
beStrictAboutCoverageMetadata="false"
beStrictAboutOutputDuringTests="true"
failOnRisky="false"
failOnWarning="true">
<!-- Pierre's test suite! 🪨 -->
<testsuites>
<testsuite name="Pierre Test Suite 🪨">
<directory>tests</directory>
</testsuite>
</testsuites>
<!-- Pierre's source directories! 🪨 -->
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>tests</directory>
<directory>vendor</directory>
<directory>assets</directory>
</exclude>
</source>
<!-- Pierre's coverage settings! 🪨 -->
<coverage>
<report>
<html outputDirectory="coverage"/>
<text outputFile="coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<!-- Pierre's logging! 🪨 -->
<logging>
<junit outputFile="junit.xml"/>
</logging>
<!-- Pierre's PHP settings! 🪨 -->
<php>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<ini name="max_execution_time" value="300"/>
</php>
</phpunit>