forked from mainwp/mainwp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
47 lines (45 loc) · 1.67 KB
/
phpunit.xml.dist
File metadata and controls
47 lines (45 loc) · 1.67 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
verbose="true"
>
<testsuites>
<testsuite name="MainWP Dashboard Test Suite">
<directory suffix=".php">tests</directory>
<exclude>tests/abilities</exclude>
</testsuite>
<testsuite name="Abilities">
<directory suffix=".php">tests/abilities</directory>
<exclude>tests/abilities/class-mainwp-abilities-test-case.php</exclude>
<exclude>tests/abilities/README.md</exclude>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">class</directory>
<directory suffix=".php">includes</directory>
<directory suffix=".php">pages</directory>
<directory suffix=".php">widgets</directory>
</include>
<exclude>
<directory>vendor</directory>
<directory>tests</directory>
</exclude>
</coverage>
<php>
<const name="WP_TESTS_DOMAIN" value="example.org"/>
<const name="WP_TESTS_EMAIL" value="admin@example.org"/>
<const name="WP_TESTS_TITLE" value="MainWP Test"/>
<const name="WP_PHP_BINARY" value="php"/>
</php>
</phpunit>