forked from tikiorg/tiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
53 lines (46 loc) · 1.43 KB
/
phpunit.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Note: When backupGlobals is set to true, phpunit ends up trying to restore
the DB connection to its initial state, i.e. an unconnected state.
This causes some mysqli errors, because Tiki libraries never expect
to have to reconnect to the DB.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor_bundled/vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="lib/test/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
backupGlobals="false">
<testsuites>
<testsuite name="Tiki test suite">
<directory>./lib/test</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>disable</group>
</exclude>
</groups>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="date.timezone" value="UTC"/>
</php>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./lib</directory>
<exclude>
<directory suffix=".php">lib/test</directory>
</exclude>
</whitelist>
</filter>
<!--
uncomment the logging node below if you need xml coverage info, for IDEs that support phpunit
Info from http://www.phpunit.de/manual/3.3/en/phpunit-book.html#appendixes.configuration
<logging>
<log type="coverage-clover" target="lib/test/clover.xml" />
</logging>
-->
</phpunit>