Skip to content

Commit 57eae95

Browse files
committed
test: configure PHPUnit coverage filter
1 parent b54ff79 commit 57eae95

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

phpunit.xml.dist

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3-
<coverage/>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
processIsolation="false"
7+
stopOnFailure="false"
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
9+
cacheDirectory=".phpunit.cache"
10+
backupStaticProperties="false">
11+
<coverage>
12+
<include>
13+
<directory suffix=".php">./src</directory>
14+
</include>
15+
</coverage>
16+
417
<testsuites>
518
<testsuite name="Application Test Suite">
619
<directory>./tests/</directory>

0 commit comments

Comments
 (0)