forked from ProcessMaker/processmaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
62 lines (54 loc) · 2.15 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"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="false"
convertWarningsToExceptions="false"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
>
<testsuites>
<testsuite name="Features">
<directory>tests/Feature</directory>
<directory>tests/Model</directory>
<directory>tests/unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">./ProcessMaker</directory>
</whitelist>
</filter>
<php>
<env name="APP_DEBUG" value="true" />
<env name="APP_ENV" value="testing" />
<env name="APP_URL" value="http://localhost" />
<env name="APP_KEY" value="base64:x80I9vQNxwllSuwBkTwfUa5qkgPTRdwqHCPSz7zHi1U=" />
<env name="TESTING_VERBOSE" value="false" />
<env name="POPULATE_DATABASE" value="true" />
<env name="TELESCOPE_ENABLED" value="false" />
<env name="BROADCAST_DRIVER" value="log"/>
<!-- Caching config -->
<env name="CACHE_DRIVER" value="array" />
<env name="QUEUE_DRIVER" value="sync" />
<!-- Workflow Database -->
<env name="DB_ADAPTER" value="mysql" />
<env name="DB_DATABASE" value="test" />
<env name="DATA_DB_DATABASE" value="test" />
<!-- Log config -->
<env name="LOG_CHANNEL" value="test" />
<!-- MS Sql server -->
<env name="RUN_MSSQL_TESTS" value="false" />
<env name="MSSQL_HOST" value="172.16.3.1" />
<env name="MSSQL_PORT" value="1433" />
<env name="MSSQL_DATABASE" value="testexternal" />
<env name="MSSQL_USERNAME" value="test" />
<env name="MSSQL_PASSWORD" value="test" />
<env name="KEYS_PATH" value="tests/storage/keys" />
<env name="MAILTEMPLATES_PATH" value="tests/storage/mailTemplates" />
<env name="SKINS_PATH" value="tests/storage/skins" />
<env name="THEMES_CACHE" value="false" />
</php>
</phpunit>