-
Notifications
You must be signed in to change notification settings - Fork 9
/
phpunit.xml.dist
64 lines (64 loc) · 2.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?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"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="autoload.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
failOnRisky="true"
failOnWarning="true"
>
<coverage>
<include>
<directory>bundles</directory>
<directory>./../plugins</directory>
<directory>middlewares</directory>
</include>
<exclude>
<directory>bundles/*Bundle/Config</directory>
<directory>bundles/*Bundle/DataFixtures</directory>
<directory>bundles/*Bundle/Tests</directory>
<directory>bundles/*Bundle/Translations</directory>
<directory>bundles/*Bundle/Views</directory>
<directory>./../plugins/*Bundle/Config</directory>
<directory>./../plugins/*Bundle/Tests</directory>
<directory>./../plugins/*Bundle/Translations</directory>
<directory>./../plugins/*Bundle/Views</directory>
<directory>middlewares/Tests</directory>
<directory>bundles/CoreBundle/Test</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Project Test Suite">
<directory>bundles/*Bundle/Tests</directory>
</testsuite>
<testsuite name="Plugin tests">
<directory>./../plugins/*Bundle/Tests</directory>
</testsuite>
<testsuite name="Middleware tests">
<directory>middlewares/Tests</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"/>
<ini name="error_reporting" value="E_ALL" />
</php>
<listeners>
<listener class="\Mautic\CoreBundle\Test\Listeners\CleanupListener" />
</listeners>
<extensions>
<extension class="\Mautic\CoreBundle\Test\Hooks\MauticExtension" />
</extensions>
</phpunit>