-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
99 lines (97 loc) · 3.24 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0"?>
<!--
PHPUnit configuration file.
minimum version: ^11.5
@see https://phpunit.readthedocs.io/en/11.5/configuration.html
-->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheDirectory=".tools/.phpunit.cache/"
colors="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutCoverageMetadata="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
displayDetailsOnIncompleteTests="true"
displayDetailsOnSkippedTests="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
failOnRisky="true"
failOnWarning="true"
enforceTimeLimit="false"
defaultTimeLimit="5"
timeoutForSmallTests="5"
timeoutForMediumTests="60"
timeoutForLargeTests="600"
requireCoverageMetadata="true"
testdox="false"
>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/other</directory>
<file>src/aoc.php</file>
<file>src/run_class.php</file>
<file>src/AocYYYYDayDD.php</file>
</exclude>
</source>
<testsuites>
<testsuite name="Aoc2015">
<file>tests/Aoc2015Test.php</file>
</testsuite>
<testsuite name="Aoc2016">
<file>tests/Aoc2016Test.php</file>
</testsuite>
<testsuite name="Aoc2017">
<file>tests/Aoc2017Test.php</file>
</testsuite>
<testsuite name="Aoc2018">
<file>tests/Aoc2018Test.php</file>
</testsuite>
<testsuite name="Aoc2019">
<file>tests/Aoc2019Test.php</file>
</testsuite>
<testsuite name="Aoc2020">
<file>tests/Aoc2020Test.php</file>
</testsuite>
<testsuite name="Aoc2021">
<file>tests/Aoc2021Test.php</file>
</testsuite>
<testsuite name="Aoc2022">
<file>tests/Aoc2022Test.php</file>
</testsuite>
<testsuite name="Aoc2023">
<file>tests/Aoc2023Test.php</file>
</testsuite>
<testsuite name="Aoc2024">
<file>tests/Aoc2024Test.php</file>
</testsuite>
</testsuites>
<coverage
disableCodeCoverageIgnore="false"
ignoreDeprecatedCodeUnits="true"
pathCoverage="false">
<report>
<html outputDirectory=".tools/phpunit-coverage" lowUpperBound="50" highLowerBound="90" />
<text outputFile="php://stdout" showUncoveredFiles="true" showOnlySummary="true" />
</report>
</coverage>
<logging>
<junit outputFile=".tools/phpunit-junit.xml" />
</logging>
<groups>
<exclude>
<group>medium-slow</group> <!-- ~2..10s with coverage -->
<group>slow</group> <!-- ~10..600s -->
<group>ultra-slow</group> <!-- >600s -->
<group>medium</group>
<group>large</group>
</exclude>
</groups>
</phpunit>