Update phpunit config

This commit is contained in:
Timothy Warren 2020-12-03 15:53:03 -05:00
parent d69655be02
commit a174a6747f

View File

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" beStrictAboutOutputDuringTests="false" colors="true" stopOnFailure="false" bootstrap="./../tests/bootstrap.php" verbose="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
beStrictAboutOutputDuringTests="false" <coverage>
colors="true" <include>
stopOnFailure="false"
bootstrap="./../tests/bootstrap.php"
verbose="true"
>
<filter>
<whitelist>
<directory suffix=".php">./../src/</directory> <directory suffix=".php">./../src/</directory>
</whitelist> </include>
</filter> <report>
<clover outputFile="logs/clover.xml"/>
<html outputDirectory="./../coverage"/>
<xml outputDirectory="logs/coverage"/>
</report>
</coverage>
<testsuites> <testsuites>
<testsuite name="CoreTests"> <testsuite name="CoreTests">
<file>./../tests/CoreTest.php</file> <file>./../tests/CoreTest.php</file>
@ -28,9 +27,6 @@
</testsuite> </testsuite>
</testsuites> </testsuites>
<logging> <logging>
<log type="coverage-html" target="./../coverage"/> <junit outputFile="logs/junit.xml"/>
<log type="coverage-clover" target="logs/clover.xml"/>
<log type="coverage-xml" lowUpperBound="85" highLowerBound="90" showUncoveredFiles="true" target="logs/coverage" />
<log type="junit" target="logs/junit.xml" />
</logging> </logging>
</phpunit> </phpunit>