-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
56 lines (56 loc) · 2.69 KB
/
Copy pathphpunit.xml
File metadata and controls
56 lines (56 loc) · 2.69 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
<?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="tests/bootstrap.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
<directory>modules/zenon/*/tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
<directory>modules/zenon/*/tests/Feature</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
</include>
</source>
<php>
<!--
The full suite runs as a single PHP process (no test-process isolation), so
per-test resource footprint (Laravel boot, sqlite migrations, tenant DB
juggling) accumulates across the whole run rather than resetting per test.
Phase 8 Task 6 added 13 Installer tests on top of Phase 7's 326 and pushed
cumulative peak usage past WAMP's php.ini default of 128M (verified: the
same 128M ceiling passes cleanly on the pre-Task-6 tree; every one of the 339
tests passes with no assertion failures once given headroom) — this is normal
growth of a monolithic suite, not a per-test state leak. Bumped here (repo-
scoped, not the machine's php.ini) rather than relying on each developer/CI
runner discovering the ceiling and raising it out-of-band.
-->
<ini name="memory_limit" value="512M"/>
<env name="APP_ENV" value="testing"/>
<env name="APP_URL" value="http://app.zenonerp.test"/>
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="BROADCAST_CONNECTION" value="null"/>
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="DB_URL" value=""/>
<env name="DB_CACHE_CONNECTION" value="sqlite"/>
<env name="TENANCY_DB_SUFFIX" value=".sqlite"/>
<env name="MODULES_STATUSES_FILE" value="storage/framework/testing/modules_statuses.json"/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="database"/>
<env name="SANCTUM_STATEFUL_DOMAINS" value="app.zenonerp.test,*.zenonerp.test"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="TELESCOPE_ENABLED" value="false"/>
<env name="NIGHTWATCH_ENABLED" value="false"/>
</php>
</phpunit>