-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathphpunit.xml
60 lines (60 loc) · 2.41 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutOutputDuringTests="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php">
<coverage processUncoveredFiles="true">
<include>
<directory>./src/</directory>
</include>
<report>
<clover outputFile="coverage/coverage.clover"/>
<html outputDirectory="coverage"/>
</report>
</coverage>
<testsuites>
<testsuite name="Kotori Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<php>
<const name="KOTORI_PHP_TEST_ENV" value="1"/>
<env name="WEB_SERVER_HOST" value="127.0.0.1"/>
<env name="WEB_SERVER_PORT" value="2333"/>
<env name="WEB_SERVER_DOCROOT" value="./example/public"/>
<env name="WEB_SERVER_TIMEOUT" value="1000"/>
<env name="MYSQL_HOST" value="127.0.0.1"/>
<env name="MYSQL_USER" value="root"/>
<env name="MYSQL_PWD" value="123456"/>
<env name="MYSQL_PORT" value="3306"/>
<env name="MYSQL_DB" value="kotori_php_test"/>
<env name="MYSQL_TABLE" value="test_table"/>
<env name="REDIS_HOST" value="127.0.0.1"/>
<env name="REDIS_PORT" value="6379"/>
<server name="HTTP_HOST" value="kotori.php.dev"/>
<server name="HTTP_CONNECTION" value="keep-alive"/>
<server name="HTTP_CACHE_CONTROL" value="max-age=0"/>
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"/>
<server name="HTTP_REFERER" value="http://kotori.php.dev"/>
<server name="SERVER_NAME" value="kotori.php.dev"/>
<server name="SERVER_ADDR" value="127.0.0.1"/>
<server name="SERVER_PORT" value="80"/>
<server name="REMOTE_ADDR" value="127.0.0.1"/>
<server name="REQUEST_SCHEME" value="http"/>
<server name="SERVER_PROTOCOL" value="HTTP/1.1"/>
<server name="REQUEST_METHOD" value="GET"/>
<server name="QUERY_STRING" value=""/>
<server name="SCRIPT_NAME" value="/index.php"/>
</php>
<logging/>
</phpunit>