-
Notifications
You must be signed in to change notification settings - Fork 215
/
phpunit.xml
78 lines (69 loc) · 3 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="false"
convertWarningsToExceptions="false"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<testsuites>
<testsuite name="Features">
<directory>tests/Feature</directory>
<directory>tests/Managers</directory>
<directory>tests/Model</directory>
<directory>tests/Resources</directory>
<directory>tests/Sdk</directory>
<directory>tests/Traits</directory>
<directory>tests/unit</directory>
</testsuite>
</testsuites>
<coverage includeUncoveredFiles="true" processUncoveredFiles="false">
<include>
<directory suffix=".php">./ProcessMaker</directory>
</include>
</coverage>
<php>
<env name="APP_DEBUG" value="true" />
<env name="APP_ENV" value="testing" />
<env name="APP_URL" value="http://localhost" />
<env name="TESTING_VERBOSE" value="false" />
<env name="POPULATE_DATABASE" value="true" />
<env name="TELESCOPE_ENABLED" value="false" />
<env name="LOG_AUTH_EVENTS" value="false" />
<env name="BROADCAST_DRIVER" value="log"/>
<env name="SAVED_SEARCH_COUNT" value="false"/>
<env name="SAVED_SEARCH_ADD_DEFAULTS" value="false"/>
<env name="APP_CONFIG_CACHE" value="bootstrap/cache/config.test.php"/>
<!-- Caching config -->
<env name="CACHE_DRIVER" value="array" />
<env name="QUEUE_DRIVER" value="sync" />
<env name="MESSAGE_BROKER_DRIVER" value="default" />
<!-- Workflow Database -->
<env name="DB_ADAPTER" value="mysql" />
<env name="DB_DATABASE" value="test" />
<env name="DATA_DB_DATABASE" value="test" />
<env name="DB_TIMEZONE" value="+00:00" />
<env name="DATA_DB_TIMEZONE" value="+00:00" />
<env name="NAYRA_DOCKER_NETWORK" value="pm4-tools_default" />
<!-- 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" />
<env name="SESSION_SECURE_COOKIE" value="true" />
<env name="PRODUCT_ANALYTICS_ENABLED" value="false" />
<env name="PRODUCT_ANALYTICS_INTERCOM_ENABLED" value="false" />
</php>
</phpunit>