-
Notifications
You must be signed in to change notification settings - Fork 17
/
phpunit.xml
53 lines (47 loc) · 1.75 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
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
colors = "true"
failOnWarning = "true"
bootstrap = "autoload.php" >
<testsuites>
<testsuite name="unit">
<directory>Tests/Unit</directory>
</testsuite>
<testsuite name="functional">
<directory>Tests/Functional</directory>
</testsuite>
<testsuite name="all">
<directory>Tests/Unit</directory>
<directory>Tests/Functional</directory>
</testsuite>
</testsuites>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
<env name="KERNEL_CLASS" value="AppKernel" />
<env name="APP_ENV" value="test" force="true"/>
<const name="IS_PHPUNIT" value="true"/>
<const name="MAUTIC_ENV" value="test"/>
<server name="APP_DEBUG" value="0"/>
</php>
<filter>
<whitelist>
<directory>*</directory>
<exclude>
<directory>Assets</directory>
<directory>Config</directory>
<directory>Migrations</directory>
<directory>Tests</directory>
<directory>Translations</directory>
<directory>vendor</directory>
<directory>Views</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
<listener class="\Mautic\CoreBundle\Test\Listeners\CleanupListener" />
</listeners>
</phpunit>