-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
64 lines (63 loc) · 2.99 KB
/
Copy pathphpunit.xml
File metadata and controls
64 lines (63 loc) · 2.99 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
<testsuite name="Arch">
<directory>tests/Arch</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
</include>
</source>
<php>
<ini name="memory_limit" value="512M"/>
<env name="APP_ENV" value="testing" force="true"/>
<env name="APP_KEY" value="base64:zTobRxr7TepBXVjM/E3kjKGAwnxWQ7QWMMXaInQYKKg=" force="true"/>
<env name="APP_MAINTENANCE_DRIVER" value="file" force="true"/>
<env name="BCRYPT_ROUNDS" value="4" force="true"/>
<!--
DB connection is not forced so CI can override it via process env
(DB_CONNECTION=mariadb + ARGOS_DB_* against a service container).
Local runs fall back to in-memory SQLite via these defaults.
-->
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="DB_URL" value=""/>
<env name="PULSE_ENABLED" value="false" force="true"/>
<env name="TELESCOPE_ENABLED" value="false" force="true"/>
<env name="NIGHTWATCH_ENABLED" value="false" force="true"/>
<!--
Fake mode is exclusively for the Playwright browser-E2E suite
(set on the Docker app/queue containers). The PHP test suite must
test the real bindings, so force it off here regardless of a local
.env that enabled it for browser testing.
-->
<env name="ARGOS_E2E_FAKE" value="false" force="true"/>
<!-- Previews ship on by default; pin off here so tests never deploy
demos. Tests that exercise demo dispatch set it true via config(). -->
<env name="ARGOS_PREVIEW_ENABLED" value="false" force="true"/>
<server name="APP_ENV" value="testing" force="true"/>
<server name="APP_KEY" value="base64:zTobRxr7TepBXVjM/E3kjKGAwnxWQ7QWMMXaInQYKKg=" force="true"/>
<server name="APP_MAINTENANCE_DRIVER" value="file" force="true"/>
<server name="BCRYPT_ROUNDS" value="4" force="true"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
<server name="DB_URL" value=""/>
<server name="PULSE_ENABLED" value="false" force="true"/>
<server name="TELESCOPE_ENABLED" value="false" force="true"/>
<server name="NIGHTWATCH_ENABLED" value="false" force="true"/>
<server name="ARGOS_E2E_FAKE" value="false" force="true"/>
<server name="ARGOS_PREVIEW_ENABLED" value="false" force="true"/>
</php>
</phpunit>