forked from polylang/polylang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
40 lines (40 loc) · 1.17 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
38
39
40
<phpunit
bootstrap="tests/phpunit/includes/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="test-" suffix=".php">./tests/phpunit/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./admin</directory>
<directory suffix=".php">./frontend</directory>
<directory suffix=".php">./include</directory>
<directory suffix=".php">./install</directory>
<directory suffix=".php">./modules</directory>
<directory suffix=".php">./settings</directory>
<file>polylang.php</file>
<file>uninstall.php</file>
<exclude>
<file>install/plugin-updater.php</file><!-- 3rd party code with no significant modification -->
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="SpeedTrapListener" file="tests/phpunit/includes/speed-trap-listener.php">
<arguments>
<array>
<element key="slowThreshold">
<integer>400</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>