Skip to content

Commit 308e961

Browse files
author
klapaudius
committed
Add code coverage reporting to PHPUnit configuration
Configured PHPUnit to generate a Clover coverage report. This will help track code coverage metrics and improve testing effectiveness.
1 parent 941f1f0 commit 308e961

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@
2828
<directory suffix=".php">./src</directory>
2929
</include>
3030
</source>
31+
<coverage>
32+
<report>
33+
<clover outputFile="phpunit.coverage.xml"/>
34+
</report>
35+
</coverage>
3136
</phpunit>

0 commit comments

Comments
 (0)