forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit-isolated.xml
More file actions
78 lines (70 loc) · 2.61 KB
/
phpunit-isolated.xml
File metadata and controls
78 lines (70 loc) · 2.61 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
<?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 does not require initialization.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnRisky="false"
stopOnSkipped="false"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnPhpunitDeprecations="true"
failOnDeprecation="true"
failOnPhpunitDeprecation="true"
failOnPhpunitWarning="true"
testdox="false">
<extensions>
<bootstrap class="OpenEMR\PHPUnit\Extension" />
</extensions>
<php>
<env name="ENV" value="test" />
<ini name="error_reporting" value="-1"/>
</php>
<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>
<testsuites>
<testsuite name="isolated">
<directory>tests/Tests/Isolated</directory>
</testsuite>
<!-- Include existing unit tests that don't require database but haven't been moved yet -->
<testsuite name="unit-isolated">
<directory>tests/Tests/BC</directory>
<directory>tests/Tests/Unit/Common/Http</directory>
<directory>tests/Tests/Unit/Common/Utils</directory>
<directory>tests/Tests/Unit/PaymentProcessing</directory>
<directory>tests/Tests/Unit/library</directory>
</testsuite>
</testsuites>
</phpunit>