-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
phpunit.xml.dist
56 lines (50 loc) · 1.69 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
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
bootstrap="bootstrap.php"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
syntaxCheck="false"
strict="false"
verbose="true">
<php>
<server name="HTTP_HOST" value="localhost"/>
<!--
When copying this file to phpunit.xml, replace with the path to Piwik on localhost.
If Piwik is available at http://localhost/dev/piwik/ replace @REQUEST_URI@ with /dev/piwik/
NOTE: the REQUEST_URI should not contain "plugins" or "tests" in the PATH
-->
<server name="REQUEST_URI" value="@REQUEST_URI@"/>
<server name="REMOTE_ADDR" value="127.0.0.1"/>
</php>
<testsuites>
<testsuite name="PluginTests">
<directory>./Plugins</directory>
</testsuite>
<testsuite name="CoreTests">
<directory>./Core</directory>
</testsuite>
<testsuite name="IntegrationTests">
<directory>./Integration</directory>
</testsuite>
<!-- NOTE: UI Tests are not included here since they significantly add to the test run time. -->
</testsuites>
<!--
Request: code coverage, see ticket #4224
-->
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../../core</directory>
<directory suffix=".php">../../plugins</directory>
</whitelist>
</filter>
</phpunit>