-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml.dist
33 lines (33 loc) · 1.14 KB
/
phpunit.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<php>
<env name="APP_ENV" value="testing"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="DB_CONNECTION" value="testing"/>
<env name="QUEUE_COMMAND_AFTER_PHP_ARTISAN" value="queue:work --timeout=0"/>
<env name="QUEUE_LOG_QUE_COMMAND_FIRED" value="false"/>
<env name="STOP_QUEUE" value="false"/>
</php>
</phpunit>