forked from unite-cms/unite-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
43 lines (40 loc) · 1.51 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="./src/TestBootstrap.php"
failOnRisky="true"
failOnWarning="true"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="App\Kernel" />
<server name="KERNEL_DIR" value="src" />
<env name="APP_SECRET" value="SECRET"/>
<env name="APP_ENV" value="test"/>
<env name="APP_DEBUG" value="1"/>
<env name="DATABASE_HOST" value="127.0.0.1"/>
<env name="DATABASE_PORT" value=""/>
<env name="DATABASE_NAME" value="unite_test"/>
<env name="DATABASE_USER" value="root"/>
<env name="DATABASE_PASSWORD" value=""/>
<env name="ROUTING_APPROACH" value="parameter"/>
<env name="DEFAULT_HOSTNAME" value=""/>
<env name="MAILER_SENDER" value="[email protected]"/>
</php>
<testsuites>
<testsuite name="unite cms test cases">
<directory>./src/Bundle/*/Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src/Bundle</directory>
<exclude>
<directory>./src/Bundle/*/Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>