forked from mirror/pixelfed
Update phpunit config
This commit is contained in:
parent
8aa5d42d8b
commit
76813d351b
1 changed files with 31 additions and 30 deletions
61
phpunit.xml
61
phpunit.xml
|
@ -1,32 +1,33 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit backupGlobals="false"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
backupStaticAttributes="false"
|
backupGlobals="false"
|
||||||
bootstrap="vendor/autoload.php"
|
backupStaticAttributes="false"
|
||||||
colors="true"
|
bootstrap="vendor/autoload.php"
|
||||||
convertErrorsToExceptions="true"
|
colors="true"
|
||||||
convertNoticesToExceptions="true"
|
convertErrorsToExceptions="true"
|
||||||
convertWarningsToExceptions="true"
|
convertNoticesToExceptions="true"
|
||||||
processIsolation="false"
|
convertWarningsToExceptions="true"
|
||||||
stopOnFailure="false">
|
processIsolation="false"
|
||||||
<testsuites>
|
stopOnFailure="false"
|
||||||
<testsuite name="Feature">
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||||
<directory suffix="Test.php">./tests/Feature</directory>
|
<coverage processUncoveredFiles="true">
|
||||||
</testsuite>
|
<include>
|
||||||
|
<directory suffix=".php">./app</directory>
|
||||||
<testsuite name="Unit">
|
</include>
|
||||||
<directory suffix="Test.php">./tests/Unit</directory>
|
</coverage>
|
||||||
</testsuite>
|
<testsuites>
|
||||||
</testsuites>
|
<testsuite name="Feature">
|
||||||
<filter>
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
</testsuite>
|
||||||
<directory suffix=".php">./app</directory>
|
<testsuite name="Unit">
|
||||||
</whitelist>
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
</filter>
|
</testsuite>
|
||||||
<php>
|
</testsuites>
|
||||||
<env name="APP_ENV" value="testing"/>
|
<php>
|
||||||
<env name="CACHE_DRIVER" value="array"/>
|
<env name="APP_ENV" value="testing"/>
|
||||||
<env name="SESSION_DRIVER" value="array"/>
|
<env name="CACHE_DRIVER" value="array"/>
|
||||||
<env name="QUEUE_DRIVER" value="sync"/>
|
<env name="SESSION_DRIVER" value="array"/>
|
||||||
<env name="MAIL_DRIVER" value="array"/>
|
<env name="QUEUE_DRIVER" value="sync"/>
|
||||||
</php>
|
<env name="MAIL_DRIVER" value="array"/>
|
||||||
|
</php>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
Loading…
Reference in a new issue