-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
55 lines (50 loc) · 1.78 KB
/
Copy pathphpunit.xml
File metadata and controls
55 lines (50 loc) · 1.78 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
PHPUnit configuration for Bird CMS.
Test suites:
unit - pure-PHP repository / helper tests, no HTTP
integration - admin controller flows exercised against tmp content dirs
mcp - MCP server JSON-RPC handler coverage with golden fixtures
parity - round-trip drift checks: MCP <-> admin must agree
Run all suites: vendor/bin/phpunit
Run a single one: vendor/bin/phpunit (with) testsuite=parity
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
stopOnFailure="false"
failOnRisky="true"
failOnWarning="true"
cacheDirectory=".phpunit.cache"
beStrictAboutOutputDuringTests="true">
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="mcp">
<directory>tests/Mcp</directory>
</testsuite>
<testsuite name="parity">
<directory>tests/Parity</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
<directory>mcp</directory>
</include>
<exclude>
<directory>tests</directory>
<directory>vendor</directory>
</exclude>
</source>
<php>
<env name="APP_KEY" value="phpunit-test-key-not-for-production-use-only"/>
<env name="DEBUG" value="false"/>
<env name="TRUSTED_PROXIES" value="127.0.0.1"/>
</php>
</phpunit>