-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit-wordpress.xml.dist
More file actions
53 lines (46 loc) · 1.62 KB
/
phpunit-wordpress.xml.dist
File metadata and controls
53 lines (46 loc) · 1.62 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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
JBZoo CrossCMS
This file is part of the JBZoo CCK package.
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
@package CrossCMS
@license MIT
@copyright Copyright (C) JBZoo.com, All rights reserved.
@link https://github.com/JBZoo/CrossCMS
-->
<phpunit bootstrap="./tests/autoload/all.php"
colors="true"
backupGlobals="false"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
syntaxCheck="true"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="false"
stopOnSkipped="false"
>
<php>
<env name="PATH_WORDPRESS" value="./resources/wordpress"/>
<env name="TEST_HOST" value="127.0.0.1"/>
<env name="TEST_PORT" value="8083"/>
</php>
<testsuites>
<testsuite name="General">
<directory suffix="Test.php">./tests</directory>
<exclude>./tests/tests/BrowserEmulatorTest.php</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-php" target="build/coverage_cov/wordpress.cov"/>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false" showOnlySummary="true"/>
</logging>
</phpunit>