-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit.xml
50 lines (50 loc) · 1.76 KB
/
phpunit.xml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"
verbose="true"
beStrictAboutTestSize="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutTestsThatDoNotTestAnything="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true">
<testsuites>
<testsuite name="unit">
<directory>./tests/Unit/</directory>
<php>
<env name="QUEUE_DRIVER" value="sync"/>
</php>
</testsuite>
<testsuite name="functional">
<directory>./tests/Functional/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">app/</directory>
<exclude>
<directory suffix="blade.php">app/</directory>
<directory>app/Database/</directory>
</exclude>
</whitelist>
<blacklist>
<directory suffix=".blade.php">app/</directory>
<directory>app/Database/</directory>
</blacklist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DB_CONNECTION" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="SCOUT_QUEUE" value="false"/>
<env name="ELASTICSEARCH_INDEX" value="ching-shop-test"/>
<env name="FILESYSTEM" value="local"/>
</php>
</phpunit>