forked from api-platform/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
51 lines (46 loc) · 2.1 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" bootstrap="tests/Fixtures/app/bootstrap.php" colors="true">
<php>
<ini name="error_reporting" value="-1" />
<ini name="memory_limit" value="-1" />
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0" />
<!-- This is necessary for GitHub Actions to work properly -->
<server name="SYMFONY_PHPUNIT_DIR" value="vendor/bin/.phpunit" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="symfony/yaml" />
<server name="KERNEL_DIR" value="tests/Fixtures/app/" />
<server name="KERNEL_CLASS" value="AppKernel" />
<env name="APP_ENV" value="test" />
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
<directory phpVersion="8.0" phpVersionOperator=">=">tests/Metadata/Resource/Factory</directory>
<exclude>tests/Metadata/Resource/Factory</exclude>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory>.</directory>
</include>
<exclude>
<directory>features</directory>
<directory>tests</directory>
<directory>vendor</directory>
<directory>src/Bridge/NelmioApiDoc</directory>
<directory>src/Bridge/FosUser</directory>
<directory>src/Bridge/Symfony/Maker/Resources/skeleton</directory>
<directory>src/Core/Bridge/Rector</directory>
<file>.php-cs-fixer.dist.php</file>
<file>src/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php</file>
<file>src/Bridge/Symfony/Bundle/Test/Constraint/ArraySubsetLegacy.php</file>
</exclude>
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<groups>
<exclude>
<group>mongodb</group>
</exclude>
</groups>
</phpunit>