-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
/
phpunit.xml.dist
35 lines (34 loc) · 1.04 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
<?xml version="1.0" encoding="utf-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="true"
bootstrap="./tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
executionOrder="default"
failOnRisky="true"
failOnWarning="true"
printerClass="yiiunit\ResultPrinter"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Yii Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">framework/</directory>
</include>
<exclude>
<file>framework/.phpstorm.meta.php</file>
<file>framework/i18n/GettextFile.php</file>
<file>framework/web/ResponseFormatterInterface.php</file>
<directory suffix=".php">framework/bootstrap</directory>
<directory suffix="Exception.php">framework/base</directory>
<directory suffix=".php">framework/requirements</directory>
</exclude>
</coverage>
</phpunit>