This repository has been archived by the owner on Sep 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
47 lines (45 loc) · 1.74 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Database">
<directory suffix="Test.php">./tests/phpunit/Database</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./tests/phpunit/Integration</directory>
</testsuite>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/phpunit/Unit</directory>
</testsuite>
<testsuite name="Acceptance">
<directory suffix="Test.php">./tests/phpunit/Acceptance</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./tests/test-results" lowUpperBound="35" highLowerBound="70"/>
</logging>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="MAIL_DRIVER" value="log"/>
<!-- TestCase Global Variables -->
<env name="adminEmail" value="[email protected]"/>
<env name="adminPassword" value="123456"/>
<env name="userEmail" value="[email protected]"/>
<env name="userPassword" value="123456"/>
</php>
</phpunit>