-
-
Notifications
You must be signed in to change notification settings - Fork 159
/
phpunit.xml.dist
75 lines (75 loc) · 3.68 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
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" colors="true" defaultTestSuite="unit" bootstrap="vendor/autoload.php" beStrictAboutChangesToGlobalState="true">
<coverage>
<include>
<directory>./calendar-bundle/src</directory>
<directory>./comments-bundle/src</directory>
<directory>./core-bundle/src</directory>
<directory>./faq-bundle/src</directory>
<directory>./maker-bundle/src</directory>
<directory>./manager-bundle/src</directory>
<directory>./news-bundle/src</directory>
<directory>./newsletter-bundle/src</directory>
</include>
<exclude>
<!-- exclude resources that are exempt from testing -->
<directory>./*-bundle/src/Entity</directory>
<directory>./*-bundle/src/Migration/Version*</directory>
</exclude>
</coverage>
<php>
<ini name="error_reporting" value="-1"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/>
<env name="SYMFONY_PATCH_TYPE_DECLARATIONS" value="deprecations=0"/>
<env name="KERNEL_CLASS" value="Contao\CoreBundle\Tests\Functional\app\AppKernel"/>
<env name="DISABLE_HTTP_CACHE" value="1"/>
<env name="APP_SECRET" value="foobar"/>
<env name="APP_ENV" value="test"/>
<env name="APP_DEBUG" value=""/>
<env name="DATABASE_URL" value="mysql://root@localhost:3306/contao_test"/>
</php>
<testsuites>
<testsuite name="unit">
<directory>./*-bundle/tests</directory>
<exclude>./*-bundle/tests/Fixtures</exclude>
<exclude>./*-bundle/tests/Functional</exclude>
</testsuite>
<testsuite name="functional">
<directory>./core-bundle/tests/Functional</directory>
<exclude>./core-bundle/tests/Functional/app</exclude>
</testsuite>
<testsuite name="coverage">
<directory>./*-bundle/tests</directory>
<exclude>./*-bundle/tests/Fixtures</exclude>
<exclude>./core-bundle/tests/Functional</exclude>
</testsuite>
</testsuites>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
<arguments>
<array>
<element key="time-sensitive">
<array>
<element key="0"><string>Contao\CoreBundle\Command</string></element>
<element key="1"><string>Contao\CoreBundle\Controller\ContentElement</string></element>
<element key="2"><string>Contao\CoreBundle\Cron\Command</string></element>
<element key="3"><string>Contao\CoreBundle\EventListener\DataContainer</string></element>
<element key="4"><string>Contao\CoreBundle\Security\Authentication\Provider</string></element>
<element key="5"><string>Contao\CoreBundle\Security\Authentication\RememberMe</string></element>
<element key="6"><string>Contao\CoreBundle\Tests\Command</string></element>
<element key="7"><string>Contao\CoreBundle\Tests\Controller\ContentElement</string></element>
<element key="8"><string>Contao\CoreBundle\Tests\Cron</string></element>
<element key="9"><string>Contao\CoreBundle\Tests\EventListener\DataContainer</string></element>
<element key="10"><string>Contao\CoreBundle\Tests\Security\Authentication\Provider</string></element>
<element key="11"><string>Contao\CoreBundle\Tests\Security\Authentication\RememberMe</string></element>
</array>
</element>
</array>
</arguments>
</listener>
</listeners>
<extensions>
<extension class="Contao\TestCase\ClearCachePhpunitExtension"/>
<extension class="Contao\TestCase\WarnXdebugPhpunitExtension"/>
</extensions>
</phpunit>