Upgrade PHPUnit config
This commit is contained in:
parent
e75f6f7301
commit
7517e5c4de
58
phpunit.xml
58
phpunit.xml
@ -1,38 +1,36 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
||||||
bootstrap="tests/bootstrap.php"
|
bootstrap="tests/bootstrap.php"
|
||||||
colors="true"
|
colors="true"
|
||||||
convertErrorsToExceptions="false"
|
convertErrorsToExceptions="false"
|
||||||
convertWarningsToExceptions="false"
|
convertWarningsToExceptions="false"
|
||||||
defaultTestSuite="unit-tests"
|
defaultTestSuite="unit-tests"
|
||||||
verbose="false">
|
verbose="false">
|
||||||
|
|
||||||
<php>
|
<php>
|
||||||
<ini name="error_reporting" value="-1" />
|
<ini name="error_reporting" value="-1"/>
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
<testsuite name="unit-tests">
|
||||||
|
<directory>tests/</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
<testsuite name="unit-tests">
|
<groups>
|
||||||
<directory>tests/</directory>
|
<exclude>
|
||||||
</testsuite>
|
<group>perf-tests</group>
|
||||||
|
</exclude>
|
||||||
|
</groups>
|
||||||
|
|
||||||
</testsuites>
|
<coverage>
|
||||||
|
<include>
|
||||||
<groups>
|
<directory suffix=".php">src/</directory>
|
||||||
<exclude>
|
</include>
|
||||||
<group>perf-tests</group>
|
<exclude>
|
||||||
</exclude>
|
<directory>src/Spout/Autoloader</directory>
|
||||||
</groups>
|
</exclude>
|
||||||
|
</coverage>
|
||||||
<filter>
|
|
||||||
<whitelist>
|
|
||||||
<directory suffix=".php">src/</directory>
|
|
||||||
<exclude>
|
|
||||||
<directory>src/Spout/Autoloader</directory>
|
|
||||||
</exclude>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user