-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
72 lines (61 loc) · 2.18 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
72 lines (61 loc) · 2.18 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
backupGlobals="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
colors="true"
stopOnFailure="true"
stopOnError="true"
verbose="true">
<php>
<!-- configuration for mysql -->
<env name="DB_MYSQL_DSN" value="mysql:dbname=testing"/>
<env name="DB_MYSQL_USER" value="root"/>
<!-- <env name="DB_MYSQL_PASS" value="testing"/> -->
<!-- configuration for pgsql -->
<env name="DB_PGSQL_DSN" value="pgsql:dbname=testing"/>
<env name="DB_PGSQL_USER" value="postgres"/>
<!--<env name="DB_PGSQL_PASS" value="postgres"/>-->
<env name="DB_SQLITE_DSN" value="sqlite::memory:"/>
<!--
<env name="XHPROF_ROOT" value="/Users/c9s/src/php/xhprof"/>
<env name="XHPROF_HOST" value="xhprof.dev"/>
-->
</php>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
<exclude>
<directory suffix="Test.php">src</directory>
<directory suffix=".php">src/Model</directory>
</exclude>
</whitelist>
</filter>
<groups>
<exclude>
<group>profile</group>
</exclude>
</groups>
<testsuites>
<testsuite name="All">
<directory suffix="Test.php">src</directory>
<directory suffix="Test.php">tests</directory>
</testsuite>
<testsuite name="examples">
<directory suffix="Test.php">examples/books/Tests</directory>
<directory suffix="Test.php">examples/metric/Tests</directory>
<directory suffix="Test.php">examples/page</directory>
</testsuite>
<testsuite name="StoreApp">
<directory suffix="Test.php">tests/apps/StoreApp</directory>
</testsuite>
</testsuites>
<logging>
<log type="tap" target="build/logs/report.tap" />
<log type="junit" target="build/logs/report.junit.xml" />
<log type="coverage-html" target="build/logs/coverage" charset="UTF-8" yui="true" highlight="true" />
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
<log type="coverage-clover" target="build/logs/clover.xml" />
</logging>
</phpunit>