Skip to content

Commit

Permalink
Migrated PHPUnit config
Browse files Browse the repository at this point in the history
  • Loading branch information
little-apps committed May 18, 2024
1 parent 92952ea commit 517536b
Showing 1 changed file with 29 additions and 45 deletions.
74 changes: 29 additions & 45 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,47 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="true"
verbose="true"
>
<testsuites>
<testsuite name="LittleApps Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="base64:Ye71qDL/qxyTvKqduLuSzKaoiGL7hx+jJzOC2syZBwE="/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="LITTLEJWT_KEY_PHRASE" value="cnyDJzAY074tTIuvlc5Th7q1uV3JTOcWeq2IywX9wrY_6uPOyzeUrWmnb9WoE0ZQtQb8vlxsZI0FVNIKGMB2MIah6SSICltXe6oReSZum0zZz9FE8pGL_f9-xFrtmudhm2-Njc3Elnz2P6RA9axtVWbkf5ZbwNjOM4c6nGx8dhI"/>

</php>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="LittleApps Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="base64:Ye71qDL/qxyTvKqduLuSzKaoiGL7hx+jJzOC2syZBwE="/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="LITTLEJWT_KEY_PHRASE" value="cnyDJzAY074tTIuvlc5Th7q1uV3JTOcWeq2IywX9wrY_6uPOyzeUrWmnb9WoE0ZQtQb8vlxsZI0FVNIKGMB2MIah6SSICltXe6oReSZum0zZz9FE8pGL_f9-xFrtmudhm2-Njc3Elnz2P6RA9axtVWbkf5ZbwNjOM4c6nGx8dhI"/>
<env name="LITTLEJWT_OPENSSL_CNF" value="C:\\xampp\\php\\extras\\openssl\\openssl.cnf"/>
</php>
<coverage>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit 517536b

Please sign in to comment.