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,36 +1,32 @@
<?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" <directory suffix=".php">./../src/</directory>
bootstrap="./../tests/bootstrap.php" </include>
verbose="true" <report>
> <clover outputFile="logs/clover.xml"/>
<filter> <html outputDirectory="./../coverage"/>
<whitelist> <xml outputDirectory="logs/coverage"/>
<directory suffix=".php">./../src/</directory> </report>
</whitelist> </coverage>
</filter> <testsuites>
<testsuites> <testsuite name="CoreTests">
<testsuite name="CoreTests"> <file>./../tests/CoreTest.php</file>
<file>./../tests/CoreTest.php</file> <file>./../tests/ConnectionManagerTest.php</file>
<file>./../tests/ConnectionManagerTest.php</file> <file>./../tests/QueryParserTest.php</file>
<file>./../tests/QueryParserTest.php</file> </testsuite>
</testsuite> <testsuite name="MySQL Tests">
<testsuite name="MySQL Tests"> <directory>./../tests/Drivers/MySQL/</directory>
<directory>./../tests/Drivers/MySQL/</directory> </testsuite>
</testsuite> <testsuite name="PgSQL Tests">
<testsuite name="PgSQL Tests"> <directory>./../tests/Drivers/PgSQL/</directory>
<directory>./../tests/Drivers/PgSQL/</directory> </testsuite>
</testsuite> <testsuite name="SQLite Tests">
<testsuite name="SQLite Tests"> <directory>./../tests/Drivers/SQLite/</directory>
<directory>./../tests/Drivers/SQLite/</directory> </testsuite>
</testsuite> </testsuites>
</testsuites> <logging>
<logging> <junit outputFile="logs/junit.xml"/>
<log type="coverage-html" target="./../coverage"/> </logging>
<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>
</phpunit> </phpunit>