-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit-unit.xml
More file actions
59 lines (55 loc) · 2.27 KB
/
Copy pathphpunit-unit.xml
File metadata and controls
59 lines (55 loc) · 2.27 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="tests/bootstrap-unit.php"
colors="true"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
requireCoverageMetadata="false"
beStrictAboutCoverageMetadata="true"
beStrictAboutOutputDuringTests="true"
failOnRisky="true"
failOnWarning="true">
<testsuites>
<testsuite name="Unit Tests">
<directory>tests/Unit</directory>
<directory>tests/unit</directory>
<!--
tests/Integration/ as a whole is not wired into this suite yet
(pre-existing gap — most of it, e.g. PurchaseOrder3Way*, needs
its own audit before being added wholesale; at least one file
there currently fails). This one file is a pure declarative
(register-JSON + seed-fixture) test with no OpenRegister
runtime dependency — see order-revenue-recognition
tasks.md 5.2/5.3.
-->
<file>tests/Integration/SalesOrderSeedDataIntegrationTest.php</file>
<!--
model-or-references-pilot (kind:config, ADR-032): same pure
declarative (register-JSON + seed-fixture) shape, no
OpenRegister runtime dependency. See tasks.md #verification.
-->
<file>tests/Integration/ModelOrReferencesPilotSeedIntegrationTest.php</file>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">lib/</directory>
</include>
<exclude>
<directory>lib/Migration/</directory>
<file>lib/AppInfo/Application.php</file>
</exclude>
</source>
<coverage>
<report>
<clover outputFile="coverage/clover.xml"/>
<html outputDirectory="coverage/html"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
</report>
</coverage>
<php>
<env name="PHPUNIT_RUN" value="1"/>
<env name="NEXTCLOUD_CONFIG_DIR" value="/srv/nextcloud/config"/>
</php>
</phpunit>