-
Notifications
You must be signed in to change notification settings - Fork 62
/
phpunit.xml.dist
47 lines (43 loc) · 1.79 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
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="true"
stopOnSkipped="true"
stopOnRisky="true"
verbose="true"
colors="true"
bootstrap="AutoLoader.php">
<testsuites>
<testsuite name="qcloud/weapp-sdk">
<!-- <directory>./tests/test-suite/</directory> -->
<file>./tests/test-suite/ConfTest.php</file>
<file>./tests/test-suite/Auth/LoginServiceTest.php</file>
<file>./tests/test-suite/Tunnel/TunnelServiceTest.php</file>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./lib/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="build/coverage" title="weapp-sdk code coverage"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<php>
<ini name="error_reporting" value="-1"/>
<ini name="date.timezone" value="Asia/Shanghai"/>
<const name="SERVER_HOST" value="www.qcloua.la"/>
<const name="AUTH_SERVER_URL" value="http://127.0.0.1:9993/auth"/>
<const name="TUNNEL_SERVER_URL" value="http://127.0.0.1:9993/tunnel"/>
<const name="TUNNEL_SIGNATURE_KEY" value="9f338d1f0ecc37d25ac7b161c1d7bf72"/>
<const name="NETWORK_TIMEOUT" value="1000"/>
</php>
</phpunit>