forked from maghead/maghead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
78 lines (64 loc) · 2.3 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
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
73
74
75
76
77
78
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
stopOnFailure="false"
stopOnError="false"
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>
</whitelist>
</filter>
<groups>
<exclude>
<group>profile</group>
</exclude>
</groups>
<testsuites>
<testsuite name="All">
<!-- Run all apps tests before anyother tests -->
<directory suffix="Test.php">tests/apps</directory>
<directory suffix="Test.php">tests</directory>
<!-- Command Test affect all configloader singleton instance -->
<exclude suffix="Test.php">tests/Commands</exclude>
</testsuite>
<testsuite name="Model">
<directory suffix="Test.php">tests/ModelTest</directory>
</testsuite>
<testsuite name="PageApp">
<directory suffix="Test.php">tests/apps/PageApp</directory>
</testsuite>
<testsuite name="StoreApp">
<directory suffix="Test.php">tests/apps/StoreApp</directory>
</testsuite>
<testsuite name="AuthorBooks">
<directory suffix="Test.php">tests/apps/AuthorBooks</directory>
</testsuite>
<testsuite name="Schema">
<directory suffix="Test.php">tests/Schema</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="build/logs/coverage.txt" />
<log type="coverage-clover" target="build/logs/clover.xml" />
</logging>
</phpunit>