-
Notifications
You must be signed in to change notification settings - Fork 25
/
phpunit.xml
37 lines (37 loc) · 1.15 KB
/
phpunit.xml
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
<phpunit
bootstrap="tests/phpunit/includes/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<php>
<!-- Dirty hack to convince phpunit to use the right includes -->
<env name="WP_TESTS_DIR" value="/srv/www/wordpress-develop/public_html/tests/phpunit/" force="true" />
</php>
<testsuites>
<testsuite>
<directory suffix=".php">tests/phpunit</directory>
</testsuite>
</testsuites>
<filter>
<!--<blacklist>
<directory>.</directory>
<directory>tests</directory>
<directory>vendor</directory>
<directory>lib</directory>
<directory>inc</directory>
</blacklist>-->
<whitelist>
<directory suffix=".php">src</directory>
<exclude>
<directory>tests</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-text" target="php://stdout" />
</logging>
</phpunit>