forked from sergeymakinen/yii2-telegram-log
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
41 lines (41 loc) · 1.42 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
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<server name="SCRIPT_NAME" value="/index.php"/>
<server name="SERVER_NAME" value="example.com"/>
<server name="REQUEST_URI" value="/index.php?r=test"/>
<const name="YII_DEBUG" value="true"/>
<const name="YII_ENABLE_ERROR_HANDLER" value="false"/>
</php>
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests</directory>
<exclude>./tests/runtime</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory suffix="Exception.php">./src</directory>
</exclude>
</whitelist>
</filter>
</phpunit>