Skip to content

Commit

Permalink
Tests: Add default coverage settings. (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
costdev authored Nov 3, 2024
1 parent c3ca998 commit ea11ffb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
/phpunit.xml
/vendor
.cache/*
/tests/cache
/tests/coverage
13 changes: 13 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,17 @@
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<coverage includeUncoveredFiles="true" processUncoveredFiles="false" pathCoverage="true" cacheDirectory="./tests/cache">
<include>
<file>./aspire-update.php</file>
<directory suffix=".php">./includes</directory>
</include>
<exclude>
<file>./includes/autoload.php</file>
</exclude>
<report>
<text outputFile="php://stdout" showOnlySummary="true"/>
<html outputDirectory="./tests/coverage"/>
</report>
</coverage>
</phpunit>

0 comments on commit ea11ffb

Please sign in to comment.