PHPUnit Add Filter

This commit is contained in:
Jerry Yan 2020-12-18 18:22:29 +08:00
parent 49ceddbfb9
commit 90b6eabb8b
2 changed files with 6 additions and 0 deletions

View File

@ -16,3 +16,4 @@ unitTest:
reports:
junit:
- phpunit-report.xml
coverage: '/^\s*Lines:\s*\d+.\d+\%/'

View File

@ -13,4 +13,9 @@
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>