forked from anspress/anspress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
42 lines (42 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
38
39
40
41
42
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="tests-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./includes</directory>
<directory suffix=".php">./addons/free</directory>
<directory suffix=".php">./admin</directory>
<directory suffix=".php">./templates</directory>
<file>anspress-question-answer.php</file>
<file>activate.php</file>
<exclude>
<!--<file>./admin/excludefile.php</file>-->
<directory>./.git/</directory>
<directory>./.svn/</directory>
<directory>./node_modules/</directory>
<directory>./.sass-cache/</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="SpeedTrapListener" file="tests/phpunit/speed-trap-listener.php">
<arguments>
<array>
<element key="slowThreshold">
<integer>150</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>