Skip to content

Commit 2c3fb75

Browse files
committed
update format to current phpunit version 11
1 parent 6a19054 commit 2c3fb75

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

phpunit.xml

+25-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
<?xml version="1.0"?>
2-
<phpunit verbose="true">
3-
<logging>
4-
<log type="coverage-html" target="build/coverage" title="Math_Vector" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70"/>
5-
<log type="coverage-clover" target="build/logs/clover.xml"/>
6-
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false" title="Math_Vector"/>
7-
</logging>
8-
<filter>
9-
<blacklist>
10-
<directory suffix=".php">/usr/share/php</directory>
11-
<directory suffix=".php">tests/unit/</directory>
12-
</blacklist>
13-
</filter>
14-
<testsuites>
15-
<testsuite>
16-
<directory>tests</directory>
17-
<file>*Test.php</file>
18-
</testsuite>
19-
</testsuites>
2+
<phpunit stopOnDefect="true">
3+
<testsuites>
4+
<testsuite name="Math_Vector">
5+
<!-- run all files in sub-directory 'tests'' -->
6+
<directory phpVersion="5.0.0">
7+
tests
8+
</directory>
9+
</testsuite>
10+
</testsuites>
11+
<source>
12+
<include>
13+
<!-- check to cover all php-files in directory Math-->
14+
<directory suffix=".php">Math</directory>
15+
</include>
16+
</source>
17+
<coverage includeUncoveredFiles="true">
18+
<report>
19+
<text outputFile="Math_Test_Coverage.txt"/>
20+
</report>
21+
</coverage>
22+
<logging>
23+
<junit outputFile="Math_Test_Results.xml"/>
24+
</logging>
25+
<php>
26+
</php>
2027
</phpunit>

0 commit comments

Comments
 (0)