Skip to content

Commit f0399c0

Browse files
committed
Update phpunit configuration format and include filter for code coverage
1 parent 0d25a16 commit f0399c0

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

phpunit.xml.dist

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
<phpunit bootstrap="vendor/autoload.php" colors="true">
2-
<testsuites>
3-
<testsuite name="dflydev FIG Cookies Tests">
4-
<directory>./tests</directory>
5-
</testsuite>
6-
</testsuites>
1+
<?xml version="1.0"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory>./src</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="dflydev FIG Cookies Tests">
10+
<directory>./tests</directory>
11+
</testsuite>
12+
</testsuites>
713
</phpunit>

0 commit comments

Comments
 (0)