-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpunit.xml.dist
38 lines (34 loc) · 1.13 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://phpunit.de/manual/4.8/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
>
<testsuites>
<testsuite name="unit">
<directory prefix="test-" suffix=".php">./tests/unit</directory>
</testsuite>
<testsuite name="functional">
<directory prefix="test-" suffix=".php">./tests/functional</directory>
<exclude>./tests/functional/multisite</exclude>
</testsuite>
<testsuite name="functional-multisite">
<directory prefix="test-" suffix=".php">./tests/functional/multisite</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./includes</directory>
</whitelist>
</filter>
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener"></listener>
<listener class="\BWP_Framework_PHPUnit_WP_Functional_TestListener"></listener>
</listeners>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="max_execution_time" value="0"/>
</php>
</phpunit>