forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
130 lines (127 loc) · 4.98 KB
/
Copy pathphpunit.xml
File metadata and controls
130 lines (127 loc) · 4.98 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8"?>
<!--
OpenEMR has two different kinds of tests:
- "Isolated tests": Tests that run without secondary services, a data layer or significant initialization requirements
- "Tests": Tests that require a database and initialization before they can run or pass.
This file configures the kind that requires initialization.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
backupGlobals="false"
bootstrap="tests/bootstrap.php"
colors="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
stopOnRisky="false"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnPhpunitDeprecations="true"
failOnDeprecation="true"
failOnPhpunitDeprecation="true"
failOnPhpunitWarning="true"
testdox="false">
<coverage> </coverage>
<extensions>
<bootstrap class="OpenEMR\PHPUnit\Extension" />
</extensions>
<php>
<env name="ENV" value="test" />
<ini name="error_reporting" value="-1"/>
<server name="PANTHER_WEB_SERVER_DIR" value="interface"/>
<!-- ATTENTION use only on local machine you can not activate chrome visual mode on travis. -->
<!-- to disable browser's headless mode (will display the testing window, useful to debug) -->
<!--<server name="PANTHER_NO_HEADLESS" value="1"/>-->
</php>
<testsuites>
<testsuite name="ECQM">
<directory>tests/Tests/ECQM</directory>
</testsuite>
<testsuite name="unit">
<directory>tests/Tests/Unit</directory>
<exclude>tests/Tests/Unit/Common/Http</exclude>
<exclude>tests/Tests/Unit/Common/Utils</exclude>
<exclude>tests/Tests/Unit/PaymentProcessing</exclude>
<exclude>tests/Tests/Unit/library</exclude>
</testsuite>
<testsuite name="e2e">
<directory>tests/Tests/E2e</directory>
<exclude>tests/Tests/E2e/EmailSendTest.php</exclude>
<exclude>tests/Tests/E2e/EmailTestServiceTest.php</exclude>
<exclude>tests/Tests/E2e/FaxSmsEmailTest.php</exclude>
<exclude>tests/Tests/E2e/NotificationCronEmailTest.php</exclude>
</testsuite>
<testsuite name="api">
<directory>tests/Tests/Api</directory>
</testsuite>
<!--
"webui" suite: in-container HTTP integration tests that drive OpenEMR's
web UI form endpoints (/interface/*, /portal/*) via a real HTTP client
(Guzzle) + DOM crawler, running against a container built from PR
source. Setup and teardown MUST NOT touch the DB directly — drive
admin-UI or user-UI HTTP flows the way a real browser would. See
tests/Tests/WebUi/README.md for the placement rationale (why not api,
why not e2e, why not acceptance) and the HTTP-only convention.
-->
<testsuite name="webui">
<directory>tests/Tests/WebUi</directory>
</testsuite>
<testsuite name="fixtures">
<directory>tests/Tests/Fixtures</directory>
</testsuite>
<testsuite name="services">
<directory>tests/Tests/Services</directory>
</testsuite>
<testsuite name="validators">
<directory>tests/Tests/Validators</directory>
</testsuite>
<testsuite name="controllers">
<directory>tests/Tests/RestControllers</directory>
<directory>tests/Tests/Controllers</directory>
</testsuite>
<testsuite name="common">
<directory>tests/Tests/Common</directory>
<!-- Redis Sentinel integration tests live here but run via the redis-sentinel testsuite -->
<exclude>tests/Tests/Common/Session/Predis</exclude>
</testsuite>
<testsuite name="redis-sentinel">
<directory>tests/Tests/Common/Session/Predis</directory>
</testsuite>
<testsuite name="certification">
<directory>tests/Tests/Certification/HIT1</directory>
</testsuite>
<testsuite name="email">
<file>tests/Tests/E2e/EmailSendTest.php</file>
<file>tests/Tests/E2e/EmailTestServiceTest.php</file>
<file>tests/Tests/E2e/FaxSmsEmailTest.php</file>
<file>tests/Tests/E2e/NotificationCronEmailTest.php</file>
</testsuite>
</testsuites>
<source ignoreIndirectDeprecations="true">
<include>
<directory>.</directory>
</include>
<exclude>
<directory>bin</directory>
<directory>ccdaservice</directory>
<directory>ccr</directory>
<directory>ci</directory>
<directory>config</directory>
<directory>contrib</directory>
<directory>db</directory>
<directory>meta/health</directory>
<directory>public</directory>
<directory>sphere</directory>
<directory>templates/super/rules</directory>
<directory>tools/release</directory>
<directory>vendor</directory>
<file>rector-bootstrap.php</file>
<file>rector-globals.php</file>
<file>rector.php</file>
</exclude>
</source>
</phpunit>