-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathphpunit.xml
More file actions
56 lines (56 loc) · 2.46 KB
/
Copy pathphpunit.xml
File metadata and controls
56 lines (56 loc) · 2.46 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>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
<exclude>tests/Feature/Installation</exclude>
</testsuite>
<testsuite name="Module">
<directory>modules/_bundled/*/tests</directory>
</testsuite>
<testsuite name="Plugin">
<directory>plugins/_bundled/*/tests</directory>
</testsuite>
<testsuite name="Installation">
<directory>tests/Feature/Installation</directory>
<directory>modules/_bundled/*/tests/Feature/Installation</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
</include>
</source>
<php>
<ini name="memory_limit" value="1G"/>
<env name="APP_ENV" value="testing"/>
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="mysql"/>
<!--
DB_DATABASE / DB_WRITE_DATABASE / DB_READ_DATABASE 는 `.env.testing` 값을 그대로 사용.
프로덕션 DB 오염 방지 안전망은 `tests/bootstrap.php` 의 "동일 DB 이름 중단 가드" 가 담당.
-->
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="NIGHTWATCH_ENABLED" value="false"/>
<env name="INSTALLER_ADMIN_NAME" value="관리자"/>
<env name="INSTALLER_ADMIN_EMAIL" value="admin@example.com"/>
<env name="INSTALLER_ADMIN_PASSWORD" value="password"/>
<env name="INSTALLER_ADMIN_LANGUAGE" value="ko"/>
<!-- RefreshDatabase 초회전 migration 중 CoreServiceProvider boot 가 DB 접근
(g7_modules) 을 시도. installer_completed=true 면 Schema::hasTable 가드 생략되어
테이블 부재 에러 발생. false 로 두어 가드 작동 → 안전한 boot. -->
<env name="INSTALLER_COMPLETED" value="false"/>
</php>
</phpunit>