Repository navigation
Expand file tree
/
Copy pathphpunit.dist.xml
More file actions
40 lines (40 loc) · 1.69 KB
/
Copy pathphpunit.dist.xml
File metadata and controls
40 lines (40 loc) · 1.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
<?xml version="1.0" encoding="UTF-8"?>
<!-- file generated with AI assistance: Claude Code - 2026-11-25 17:00:37 UTC -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
colors="true"
failOnRisky="true"
failOnWarning="true"
failOnDeprecation="true"
failOnNotice="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerNotices="true">
<testsuites>
<!-- No kernel, no database -->
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<!-- Boots tests/Kernel/TestKernel; tests in the group "database"
need the PostgreSQL server from DATABASE_URL -->
<testsuite name="integration">
<directory>tests/Integration</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test"/>
<server name="KERNEL_CLASS" value="Dmstr\DocumentSource\Tests\Kernel\TestKernel"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<!-- Default for a local PostgreSQL; an existing environment variable
(as set by the GitHub Action) takes precedence -->
<env name="DATABASE_URL" value="postgresql://app:app@127.0.0.1:5432/document_source_test?serverVersion=18&charset=utf8"/>
</php>
<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>