Skip to content

Commit 6a861e1

Browse files
committed
migrate phpunit config
1 parent 00e43fc commit 6a861e1

File tree

1 file changed

+21
-33
lines changed

1 file changed

+21
-33
lines changed

phpunit.xml.dist

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,21 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<phpunit bootstrap="vendor/autoload.php"
4-
backupGlobals="false"
5-
backupStaticAttributes="false"
6-
colors="true"
7-
verbose="true"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
11-
processIsolation="false"
12-
stopOnFailure="false">
13-
14-
<testsuites>
15-
<testsuite name="secp256 Test Suite">
16-
<directory>test</directory>
17-
</testsuite>
18-
</testsuites>
19-
20-
<filter>
21-
<whitelist>
22-
<directory suffix=".php">src</directory>
23-
</whitelist>
24-
</filter>
25-
26-
<logging>
27-
<log type="tap" target="build/report.tap"/>
28-
<log type="junit" target="build/report.junit.xml"/>
29-
<log type="coverage-html" target="build/coverage"/>
30-
<log type="coverage-text" target="build/coverage.txt"/>
31-
<log type="coverage-clover" target="build/logs/clover.xml"/>
32-
</logging>
33-
</phpunit>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src</directory>
6+
</include>
7+
<report>
8+
<clover outputFile="build/logs/clover.xml"/>
9+
<html outputDirectory="build/coverage"/>
10+
<text outputFile="build/coverage.txt"/>
11+
</report>
12+
</coverage>
13+
<testsuites>
14+
<testsuite name="secp256 Test Suite">
15+
<directory>test</directory>
16+
</testsuite>
17+
</testsuites>
18+
<logging>
19+
<junit outputFile="build/report.junit.xml"/>
20+
</logging>
21+
</phpunit>

0 commit comments

Comments
 (0)