This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml
62 lines (60 loc) · 2.06 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
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="true"
stopOnSkipped="true"
stopOnRisky="true"
processIsolation="false"
syntaxCheck="false"
beStrictAboutTestsThatDoNotTestAnything="true">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/php/tests/</directory>
</testsuite>
<testsuite name="Unit">
<directory>./tests/php/tests/Unit/</directory>
</testsuite>
<testsuite name="Functional">
<directory>./tests/php/tests/Functional</directory>
</testsuite>
<testsuite name="Integration">
<directory>./tests/php/tests/Integration</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">app/</directory>
</whitelist>
</filter>
<php>
<env name="DB_HOST" value="192.168.10.10"/>
<env name="DB_USERNAME" value="homestead"/>
<env name="DB_PASSWORD" value="secret"/>
<env name="DB_PORT" value="3306"/>
<env name="DB_DATABASE" value="domanamon_test"/>
<env name="DB_CONNECTION" value="mysql"/>
<env name="DB_DRIVER" value="mysql"/>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">app/</directory>
<exclude>
</exclude>
</whitelist>
</filter>
<selenium>
<browser name="Firefox on Linux"
browser="*firefox /usr/lib/firefox/firefox-bin"
host="127.0.0.1"
port="4444"
timeout="30000"/>
</selenium>
</phpunit>