-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml
83 lines (77 loc) · 3.7 KB
/
phpunit.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
PhpJsCalendar is the PHP implementation of rfc8984, A JSON Representation of Calendar Data
This file is a part of PhpJsCalendar.
@author Kjell-Inge Gustafsson, kigkonsult <ical@kigkonsult.se>
@copyright 2022 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
@link https://kigkonsult.se
@license Subject matter of licence is the software PhpJsCalendar.
The above copyright, link, package and version notices,
this licence notice and the invariant [rfc5545] PRODID result use
as implemented and invoked in PhpJsCalendar shall be included in
all copies or substantial portions of the PhpJsCalendar.
PhpJsCalendar is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
PhpJsCalendar is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with PhpJsCalendar. If not, see <https://www.gnu.org/licenses/>.
-->
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="true"
bootstrap="test/autoload.php"
>
<testsuites>
<testsuite name="Factory, date and rfc parse Tests">
<file>./test/FactoryTest.php</file>
<file>./test/RfcParseTest.php</file>
</testsuite>
<testsuite name="Faker Tests etc">
<file>./test/FakerTest.php</file>
<file>./test/MiscTest.php</file>
</testsuite>
<testsuite name="iCal-json-iCal Tests">
<file>./test/IcalTest.php</file>
</testsuite>
</testsuites>
<coverage
includeUncoveredFiles="true"
processUncoveredFiles="true"
pathCoverage="false"
ignoreDeprecatedCodeUnits="false"
disableCodeCoverageIgnore="true">
<include>
<directory>./src</directory>
</include>
<!-- Require the PHP Xdebug (2.7.0 or later) and tokenizer extensions-->
<!-- Remove or comment after your own choice-->
<!-- Note, all output in report/logging will be saved in 'testDocs' folder -->
<report>
<!-- clover outputFile="testDocs/clover.xml"/ -->
<!-- crap4j outputFile="testDocs/crap4j.xml" threshold="50"/ -->
<html outputDirectory="testDocs/PHPUnitCoverage" lowUpperBound="60" highLowerBound="80"/>
<php outputFile="testDocs/coverage.php"/>
<text outputFile="testDocs/coverage.txt" showUncoveredFiles="false" showOnlySummary="false"/>
<!-- xml outputDirectory="testDocs/xml-coverage"/ -->
</report>
</coverage>
<logging>
<!-- Remove or comment after your own choice -->
<!-- All logs will be saved in 'testDocs' folder -->
<!-- junit outputFile="testDocs/junit.xml"/ -->
<!-- teamcity outputFile="testDocs/teamcity.txt"/ -->
<!-- testdoxHtml outputFile="testDocs/testdox.html"/ -->
<!-- testdoxText outputFile="testDocs/testdox.txt"/ -->
<!-- testdoxXml outputFile="testDocs/testdox.xml"/ -->
<text outputFile="testDocs/logfile.txt"/>
</logging>
</phpunit>