-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathphpunit.xml
36 lines (33 loc) · 1.33 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.7/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"
>
<testsuites>
<testsuite name="Typecho Plugin Restful Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<php>
<env name="WEB_SERVER_HOST" value="127.0.0.1" />
<env name="WEB_SERVER_PORT" value="2333" />
<env name="WEB_SERVER_DOCROOT" value="./tmp/typecho-master" />
<env name="WEB_SERVER_TIMEOUT" value="1000" />
<env name="FORKED_WEB_SERVER_PORT" value="6666" />
<env name="MYSQL_HOST" value="127.0.0.1" />
<env name="MYSQL_USER" value="root" />
<env name="MYSQL_PWD" value="123456" />
<env name="MYSQL_DB" value="typecho_test_db" />
</php>
</phpunit>