Skip to content

Commit

Permalink
add coverage configuration for PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
lloc authored and stklcode committed Apr 6, 2024
1 parent 92663a9 commit 76e9986
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ node_modules/
composer.lock
package-lock.json
phpunit.*.xml
tests/coverage/
6 changes: 6 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
<file>cachify.php</file>
<directory suffix=".php">inc</directory>
</include>
<exclude>
<directory suffix=".php">inc/setup/</directory>
<file>inc/cachify.settings.php</file>
<file>inc/cachify.settings-footer.php</file>
</exclude>

<report>
<clover outputFile="phpunit.coverage.xml"/>
</report>
Expand Down

0 comments on commit 76e9986

Please sign in to comment.