Skip to content

Commit 4a97c3e

Browse files
author
ziming
committed
fix php unit xml file
1 parent 4d99e44 commit 4a97c3e

File tree

1 file changed

+36
-19
lines changed

1 file changed

+36
-19
lines changed

phpunit.xml.dist

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,38 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3-
<testsuites>
4-
<testsuite name="Ziming Test Suite">
5-
<directory>tests</directory>
6-
</testsuite>
7-
</testsuites>
8-
<coverage>
9-
<include>
10-
<directory suffix=".php">./src</directory>
11-
</include>
12-
<report>
13-
<html outputDirectory="build/coverage"/>
14-
<text outputFile="build/coverage.txt"/>
15-
<clover outputFile="build/logs/clover.xml"/>
16-
</report>
17-
</coverage>
18-
<logging>
19-
<junit outputFile="build/report.junit.xml"/>
20-
</logging>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
5+
backupGlobals="false"
6+
bootstrap="vendor/autoload.php"
7+
colors="true"
8+
processIsolation="false"
9+
stopOnFailure="false"
10+
executionOrder="random"
11+
failOnWarning="true"
12+
failOnRisky="true"
13+
failOnEmptyTestSuite="true"
14+
beStrictAboutOutputDuringTests="true"
15+
cacheDirectory=".phpunit.cache"
16+
backupStaticProperties="false"
17+
>
18+
<testsuites>
19+
<testsuite name="Ziming Test Suite">
20+
<directory>tests</directory>
21+
</testsuite>
22+
</testsuites>
23+
<coverage>
24+
<report>
25+
<html outputDirectory="build/coverage"/>
26+
<text outputFile="build/coverage.txt"/>
27+
<clover outputFile="build/logs/clover.xml"/>
28+
</report>
29+
</coverage>
30+
<logging>
31+
<junit outputFile="build/report.junit.xml"/>
32+
</logging>
33+
<source>
34+
<include>
35+
<directory suffix=".php">./src</directory>
36+
</include>
37+
</source>
2138
</phpunit>

0 commit comments

Comments
 (0)