Update php unit config
This commit is contained in:
parent
cee9d77b50
commit
c4d7dc31d5
1 changed files with 10 additions and 10 deletions
20
phpunit.xml
20
phpunit.xml
|
@ -7,13 +7,21 @@
|
||||||
>
|
>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Unit">
|
<testsuite name="Unit">
|
||||||
<directory suffix="Test.php">./tests/Unit</directory>
|
<directory>./tests/Unit</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<testsuite name="Feature">
|
<testsuite name="Feature">
|
||||||
<directory suffix="Test.php">./tests/Feature</directory>
|
<directory>./tests/Feature</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
<coverage pathCoverage="true">
|
||||||
|
<include>
|
||||||
|
<directory suffix=".php">./app</directory>
|
||||||
|
</include>
|
||||||
|
<report>
|
||||||
|
<html outputDirectory="./public/coverage"/>
|
||||||
|
</report>
|
||||||
|
</coverage>
|
||||||
<php>
|
<php>
|
||||||
<env name="APP_ENV" value="testing"/>
|
<env name="APP_ENV" value="testing"/>
|
||||||
<env name="DB_DATABASE" value="jbukdev_testing"/>
|
<env name="DB_DATABASE" value="jbukdev_testing"/>
|
||||||
|
@ -25,12 +33,4 @@
|
||||||
<env name="TELESCOPE_ENABLED" value="false"/>
|
<env name="TELESCOPE_ENABLED" value="false"/>
|
||||||
<ini name="memory_limit" value="512M"/>
|
<ini name="memory_limit" value="512M"/>
|
||||||
</php>
|
</php>
|
||||||
<coverage pathCoverage="true" includeUncoveredFiles="true" processUncoveredFiles="true">
|
|
||||||
<include>
|
|
||||||
<directory suffix=".php">./app</directory>
|
|
||||||
</include>
|
|
||||||
<report>
|
|
||||||
<html outputDirectory="./public/coverage"/>
|
|
||||||
</report>
|
|
||||||
</coverage>
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
Loading…
Add table
Reference in a new issue