-
Notifications
You must be signed in to change notification settings - Fork 261
/
Copy pathphpunit.xml
46 lines (41 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
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="test/bootstrap.php">
<!--<php>
<var name="db_dsn" value="mysql:dbname=hello_world_test;host=localhost"/>
<var name="db_username" value="root"/>
<var name="db_password" value=""/>
</php>-->
<testsuites>
<testsuite name="PHP jieba test suite">
<directory>./test/</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>./src/class</directory>
</include>
<exclude>
<directory>./build</directory>
<directory>./codesniffer</directory>
<directory>./composer</directory>
<directory>./test</directory>
<directory>./travis</directory>
<directory>./vendor</directory>
<file>./src/jieba.php</file>
</exclude>
<report>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/logs/junit.xml" />
</logging>
</phpunit>