-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathphpunit.xml.dist
35 lines (35 loc) · 1.1 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
<?xml version="1.0" encoding="utf-8" ?>
<phpunit
bootstrap="vendor/autoload.php"
colors="true"
processIsolation="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnError="true"
stopOnFailure="true">
<php>
<env name='DB_DRIVER' value='pdo_mysql'/>
<env name='DB_USER' value='root'/>
<env name='DB_PASSWORD' value=''/>
<env name='DB_HOST' value='127.0.0.1'/>
<env name='DB_NAME' value='test_db'/>
</php>
<testsuites>
<testsuite name="Neuralyzer">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
<exclude>
<directory suffix=".php">src/Exception</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true" showOnlySummary="true"/>
<log type="coverage-html" target="reports/coverage"/>
</logging>
</phpunit>