forked from yiisoft/yii2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
38 lines (38 loc) · 1.36 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
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="./tests/bootstrap.php"
backupGlobals="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
printerClass="yiiunit\ResultPrinter">
<testsuites>
<testsuite name="Yii Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">framework/</directory>
</whitelist>
<blacklist>
<file>framework/helpers/Json.php</file>
<file>framework/helpers/StringHelper.php</file>
<file>framework/helpers/VarDumper.php</file>
<file>framework/helpers/Html.php</file>
<file>framework/helpers/Inflector.php</file>
<file>framework/helpers/FileHelper.php</file>
<file>framework/helpers/ArrayHelper.php</file>
<file>framework/helpers/Console.php</file>
<file>framework/i18n/GettextFile.php</file>
<file>framework/web/ResponseFormatterInterface.php</file>
<directory suffix="Exception.php">framework/base</directory>
<directory suffix=".php">framework/db/mssql</directory>
<directory suffix=".php">framework/bootstrap</directory>
</blacklist>
</filter>
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>
</phpunit>