-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpunit.xml.dist
32 lines (32 loc) · 1.32 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
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="tests/phpunit-bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">./wp-content/mu-plugins</directory>
<directory suffix=".php">./wp-content/themes</directory>
</include>
<exclude>
</exclude>
</coverage>
<testsuites>
<testsuite name="MU Plugin tests">
<directory suffix="Test.php">./wp-content/mu-plugins/**/tests</directory>
<exclude>./wp-content/mu-plugins/**/vendor</exclude>
<exclude>./wp-content/mu-plugins/wp-hook-attributes/</exclude>
<exclude>./wp-content/mu-plugins/000-boxuk/</exclude>
<exclude>./wp-content/mu-plugins/boxuk-base-wp-plugin/</exclude>
</testsuite>
<testsuite name="Theme tests">
<directory suffix="Test.php">./wp-content/themes/**/tests/</directory>
</testsuite>
</testsuites>
</phpunit>