forked from ts-navghane/sparkpost-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
55 lines (55 loc) · 1.88 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
54
55
<?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/9.5/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnFailure="false">
<coverage>
<include>
<directory>*</directory>
</include>
<exclude>
<directory>Assets</directory>
<directory>Config</directory>
<directory>Tests</directory>
<directory>Translations</directory>
<directory>Views</directory>
<directory>vendor</directory>
</exclude>
</coverage>
<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="MAXMIND_LICENSE_KEY" value=""/>
<env name="KERNEL_CLASS" value="AppKernel" />
<const name="IS_PHPUNIT" value="true"/>
<const name="MAUTIC_ENV" value="test"/>
<server name="KERNEL_DIR" value="app"/>
<server name="APP_DEBUG" value="0"/>
<server name="APP_ENV" value="test" force="true" />
<ini name="error_reporting" value="E_ALL" />
</php>
<listeners>
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
<listener class="\Mautic\CoreBundle\Test\Listeners\CleanupListener"/>
</listeners>
</phpunit>