-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
39 lines (39 loc) · 1.36 KB
/
Copy pathphpunit.xml
File metadata and controls
39 lines (39 loc) · 1.36 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="./server/tests/autoload.php"
colors="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd"
cacheDirectory=".phpunit.cache"
requireCoverageMetadata="true"
>
<testsuites>
<testsuite name="Unit Tests">
<directory>./server/tests/UnitTests</directory>
</testsuite>
<testsuite name="Backend Tests">
<directory>./example/tests/BackendTests</directory>
</testsuite>
</testsuites>
<coverage
cacheDirectory="./php-coverage/cache"
includeUncoveredFiles="true"
pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="false"
>
<report>
<!-- <clover outputFile="php-coverage/clover.xml"/> -->
<!-- <crap4j outputFile="php-coverage/crap4j.xml" threshold="50"/> -->
<html outputDirectory="php-coverage/html-coverage" lowUpperBound="50" highLowerBound="90"/>
<!-- <php outputFile="php-coverage/coverage.php"/> -->
<text outputFile="php-coverage/coverage.txt" showUncoveredFiles="false" showOnlySummary="false"/>
<!-- <xml outputDirectory="php-coverage/xml-coverage"/> -->
</report>
</coverage>
<source>
<include>
<directory suffix=".php">./server/lib</directory>
</include>
</source>
</phpunit>