1
0
Fork 0
mirror of https://github.com/archtechx/virtualcolumn.git synced 2025-12-12 12:14:03 +00:00

migrate phpunit configuration

This commit is contained in:
Saade 2023-02-15 17:09:00 -03:00
parent 644cbfe5ac
commit 51bda4ba34

View file

@ -1,35 +1,27 @@
<?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" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
backupStaticAttributes="false" <coverage>
bootstrap="vendor/autoload.php" <include>
colors="true" <directory suffix=".php">./src</directory>
convertErrorsToExceptions="true" </include>
convertNoticesToExceptions="true" <exclude>
convertWarningsToExceptions="true" <file>./src/routes.php</file>
processIsolation="false" </exclude>
stopOnFailure="false"> </coverage>
<testsuites> <testsuites>
<testsuite name="Unit"> <testsuite name="Unit">
<directory suffix="Test.php">./tests</directory> <directory suffix="Test.php">./tests</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter> <php>
<whitelist processUncoveredFilesFromWhitelist="true"> <env name="APP_ENV" value="testing"/>
<directory suffix=".php">./src</directory> <env name="BCRYPT_ROUNDS" value="4"/>
<exclude> <env name="CACHE_DRIVER" value="redis"/>
<file>./src/routes.php</file> <env name="MAIL_DRIVER" value="array"/>
</exclude> <env name="QUEUE_CONNECTION" value="sync"/>
</whitelist> <env name="SESSION_DRIVER" value="array"/>
</filter> <env name="DB_CONNECTION" value="sqlite"/>
<php> <env name="DB_DATABASE" value=":memory:"/>
<env name="APP_ENV" value="testing"/> <env name="AWS_DEFAULT_REGION" value="us-west-2"/>
<env name="BCRYPT_ROUNDS" value="4"/> </php>
<env name="CACHE_DRIVER" value="redis"/>
<env name="MAIL_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="AWS_DEFAULT_REGION" value="us-west-2"/>
</php>
</phpunit> </phpunit>