mirror of
https://github.com/pestphp/pest.git
synced 2026-03-13 03:07:22 +01:00
Merge pull request #956 from Itemshopp/phpunit-xml-stub-update
[2.x] Update phpunit.xml stub file
This commit is contained in:
@ -4,28 +4,28 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
colors="true"
|
colors="true"
|
||||||
>
|
>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Unit">
|
<testsuite name="Unit">
|
||||||
<directory suffix="Test.php">./tests/Unit</directory>
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite name="Feature">
|
<testsuite name="Feature">
|
||||||
<directory suffix="Test.php">./tests/Feature</directory>
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<coverage>
|
<php>
|
||||||
<include>
|
<env name="APP_ENV" value="testing"/>
|
||||||
<directory suffix=".php">./app</directory>
|
<env name="BCRYPT_ROUNDS" value="4"/>
|
||||||
</include>
|
<env name="CACHE_DRIVER" value="array"/>
|
||||||
</coverage>
|
<!-- <env name="DB_CONNECTION" value="sqlite"/> -->
|
||||||
<php>
|
<!-- <env name="DB_DATABASE" value=":memory:"/> -->
|
||||||
<env name="APP_ENV" value="testing"/>
|
<env name="MAIL_MAILER" value="array"/>
|
||||||
<env name="BCRYPT_ROUNDS" value="4"/>
|
<env name="QUEUE_CONNECTION" value="sync"/>
|
||||||
<env name="CACHE_DRIVER" value="array"/>
|
<env name="SESSION_DRIVER" value="array"/>
|
||||||
<!-- <env name="DB_CONNECTION" value="sqlite"/> -->
|
<env name="TELESCOPE_ENABLED" value="false"/>
|
||||||
<!-- <env name="DB_DATABASE" value=":memory:"/> -->
|
</php>
|
||||||
<env name="MAIL_MAILER" value="array"/>
|
<source>
|
||||||
<env name="QUEUE_CONNECTION" value="sync"/>
|
<include>
|
||||||
<env name="SESSION_DRIVER" value="array"/>
|
<directory suffix=".php">./app</directory>
|
||||||
<env name="TELESCOPE_ENABLED" value="false"/>
|
</include>
|
||||||
</php>
|
</source>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
@ -9,10 +9,10 @@
|
|||||||
<directory suffix="Test.php">./tests</directory>
|
<directory suffix="Test.php">./tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<coverage>
|
<source>
|
||||||
<include>
|
<include>
|
||||||
<directory suffix=".php">./app</directory>
|
<directory suffix=".php">./app</directory>
|
||||||
<directory suffix=".php">./src</directory>
|
<directory suffix=".php">./src</directory>
|
||||||
</include>
|
</include>
|
||||||
</coverage>
|
</source>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
Reference in New Issue
Block a user