This repository was archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphpunit.xml
43 lines (42 loc) · 1.47 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<listeners>
<listener file=".app/test/TestCase.php" class="TestCase" />
</listeners>
<testsuites>
<testsuite name="setup">
<directory>./tests/Setup/</directory>
</testsuite>
<testsuite name="application">
<directory>./tests/W4P/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">app/</directory>
</whitelist>
</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="MAIL_DRIVER" value="smtp"/>
<env name="MAIL_HOST" value="127.0.0.1"/>
<env name="MAIL_PORT" value="1025"/>
<env name="MAIL_USERNAME" value="null"/>
<env name="MAIL_PASSWORD" value="null"/>
<env name="MAIL_ENCRYPTION" value="null"/>
<env name="MAIL_FROM" value="[email protected]"/>
<env name="MAIL_NAME" value="W4P"/>
</php>
</phpunit>