-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.dist.xml
More file actions
119 lines (112 loc) · 5.8 KB
/
Copy pathphpunit.dist.xml
File metadata and controls
119 lines (112 loc) · 5.8 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
failOnDeprecation="true"
failOnNotice="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<env name="XDEBUG_MODE" value="debug,coverage" />
</php>
<testsuites>
<testsuite name="unit">
<directory>src/Bundle/FHIRBundle/tests</directory>
<directory>src/Component/CodeGeneration/tests/Unit</directory>
<directory>src/Component/Metadata/tests/Unit</directory>
<directory>src/Component/Serialization/tests/Unit</directory>
<directory>src/Component/FHIRPath/tests/Unit</directory>
<directory>src/Component/Validation/tests/Unit</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/Integration</directory>
<directory>src/Component/Serialization/tests/Integration</directory>
<directory>src/Component/CodeGeneration/tests/Integration</directory>
<directory>src/Component/FHIRPath/tests/Integration</directory>
<directory>src/Component/Validation/tests/Integration</directory>
<!-- The FHIRPath specification cases run via the dedicated fhirpath-spec suite -->
<exclude>src/Component/FHIRPath/tests/Integration/FHIRPathSpecificationTest.php</exclude>
<!-- The Questionnaire conformance cases run via the dedicated questionnaire-spec suite -->
<exclude>src/Component/Validation/tests/Integration/FHIRQuestionnaireConformanceTest.php</exclude>
<!-- The brianpos corpus runs via the dedicated brianpos-questionnaire-spec suite -->
<exclude>src/Component/Validation/tests/Integration/FHIRBrianposConformanceTest.php</exclude>
</testsuite>
<!-- Per-module integration suites: CI runs these in parallel matrix legs.
Together they must cover exactly the same tests as the "integration" suite above. -->
<testsuite name="integration-root">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="integration-serialization">
<directory>src/Component/Serialization/tests/Integration</directory>
</testsuite>
<testsuite name="integration-codegen">
<directory>src/Component/CodeGeneration/tests/Integration</directory>
</testsuite>
<testsuite name="integration-fhir-path">
<directory>src/Component/FHIRPath/tests/Integration</directory>
<!-- The FHIRPath specification cases run via the dedicated fhirpath-spec suite -->
<exclude>src/Component/FHIRPath/tests/Integration/FHIRPathSpecificationTest.php</exclude>
</testsuite>
<testsuite name="integration-validation">
<directory>src/Component/Validation/tests/Integration</directory>
<!-- The Questionnaire conformance cases run via the dedicated questionnaire-spec suite -->
<exclude>src/Component/Validation/tests/Integration/FHIRQuestionnaireConformanceTest.php</exclude>
<!-- The brianpos corpus runs via the dedicated brianpos-questionnaire-spec suite -->
<exclude>src/Component/Validation/tests/Integration/FHIRBrianposConformanceTest.php</exclude>
</testsuite>
<testsuite name="fhirpath-spec">
<file>src/Component/FHIRPath/tests/Integration/FHIRPathSpecificationTest.php</file>
</testsuite>
<testsuite name="questionnaire-spec">
<file>src/Component/Validation/tests/Integration/FHIRQuestionnaireConformanceTest.php</file>
</testsuite>
<testsuite name="brianpos-questionnaire-spec">
<file>src/Component/Validation/tests/Integration/FHIRBrianposConformanceTest.php</file>
</testsuite>
</testsuites>
<source ignoreSuppressionOfDeprecations="true"
ignoreIndirectDeprecations="true"
restrictNotices="true"
restrictWarnings="true"
>
<include>
<directory>src</directory>
<directory>src/Bundle/FHIRBundle</directory>
<directory>src/Component/CodeGeneration/src</directory>
<directory>src/Component/Metadata/src</directory>
<directory>src/Component/Serialization/src</directory>
<directory>src/Component/FHIRPath/src</directory>
<directory>src/Component/Validation/src</directory>
</include>
<exclude>
<directory>src/Exception</directory>
<directory>src/Component/*/Exception</directory>
<directory>src/Component/*/tests</directory>
<directory>src/Component/*/output</directory>
</exclude>
<deprecationTrigger>
<function>trigger_deprecation</function>
</deprecationTrigger>
</source>
<coverage includeUncoveredFiles="true"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="false">
<report>
<html outputDirectory="coverage" lowUpperBound="50" highLowerBound="80"/>
<clover outputFile="coverage/clover.xml"/>
</report>
</coverage>
<extensions>
<bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension">
<parameter name="clock-mock-namespaces" value="App" />
<parameter name="dns-mock-namespaces" value="App" />
</bootstrap>
</extensions>
</phpunit>