forked from ZF-Commons/ZfcUser
-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpunit.xml
43 lines (39 loc) · 1.56 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="phpunit.xsd"
colors="true"
convertDeprecationsToExceptions="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
stopOnFailure="false"
processIsolation="false"
backupGlobals="false"
>
<testsuites>
<testsuite name="UserAuthenticator">
<directory>./module/UserAuthenticator/test</directory>
</testsuite>
</testsuites>
<php>
<const name="DB_MYSQL_DSN" value="mysql:host=localhost;dbname=zfc_user" />
<const name="DB_MYSQL_USERNAME" value="root" />
<const name="DB_MYSQL_PASSWORD" value="" />
<const name="DB_MYSQL_SCHEMA" value="data/schema.mysql.sql" />
<const name="DB_SQLITE_DSN" value="sqlite::memory:" />
<const name="DB_SQLITE_USERNAME" value="" />
<const name="DB_SQLITE_PASSWORD" value="" />
<const name="DB_SQLITE_SCHEMA" value="data/schema.sqlite.sql" />
</php>
<filter>
<whitelist>
<directory suffix=".php">./module/UserAuthenticator/src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout"/>
<log type="coverage-html" target="build/logs/coverage" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>