forked from LM-Commons/LmcUser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
39 lines (35 loc) · 1.31 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
stopOnFailure="false"
processIsolation="false"
backupGlobals="false"
>
<testsuite name="LmcUser Test Suite">
<directory>./tests/LmcUserTest</directory>
</testsuite>
<php>
<const name="DB_MYSQL_DSN" value="mysql:host=localhost;dbname=lmc_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">./src</directory>
<file>Module.php</file>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout"/>
<log type="coverage-clover" target="./build/logs/clover.xml"/>
</logging>
</phpunit>