Repository navigation
Expand file tree
/
Copy pathphpunit.dist.xml
More file actions
86 lines (80 loc) · 3.44 KB
/
Copy pathphpunit.dist.xml
File metadata and controls
86 lines (80 loc) · 3.44 KB
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
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
failOnDeprecation="true"
failOnNotice="true"
failOnPhpunitDeprecation="true"
failOnPhpunitNotice="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerWarnings="true"
executionOrder="random"
resolveDependencies="true"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<ini name="memory_limit" value="2G" />
<server name="APP_ENV" value="test" force="true" />
<server name="APP_DEBUG" value="0" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
<env name="MFA_ENABLED" value="false" />
<env name="APP_FRONTEND_URL" value="http://localhost:4200" force="true" />
<env name="GOOGLE_OIDC_ENABLED" value="false" force="true" />
<env name="GOOGLE_OIDC_CLIENT_ID" value="" force="true" />
<env name="GOOGLE_OIDC_CLIENT_SECRET" value="" force="true" />
<env name="MICROSOFT_OIDC_ENABLED" value="false" force="true" />
<env name="MICROSOFT_OIDC_CLIENT_ID" value="" force="true" />
<env name="MICROSOFT_OIDC_CLIENT_SECRET" value="" force="true" />
<env name="KERNEL_CLASS" value="App\Kernel" />
</php>
<testsuites>
<testsuite name="Architecture Unit Tests">
<directory>tests/Architecture/Unit</directory>
</testsuite>
<testsuite name="General Integration Tests">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="General Functional Tests">
<directory>tests/Functional</directory>
</testsuite>
<testsuite name="E2E Tests">
<directory>tests/E2E</directory>
</testsuite>
<testsuite name="General Unit Tests">
<directory>tests/Unit</directory>
</testsuite>
</testsuites>
<source ignoreSuppressionOfDeprecations="true"
ignoreIndirectDeprecations="true"
restrictNotices="true"
restrictWarnings="true"
>
<include>
<directory>src</directory>
</include>
<deprecationTrigger>
<method>Doctrine\Deprecations\Deprecation::trigger</method>
<method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
<function>trigger_deprecation</function>
</deprecationTrigger>
</source>
<coverage includeUncoveredFiles="true" disableCodeCoverageIgnore="true">
<report>
<clover outputFile="var/coverage/clover.xml"/>
<text outputFile="var/coverage/coverage.txt" showOnlySummary="true"/>
</report>
</coverage>
<extensions>
<bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
<bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension">
<parameter name="clock-mock-namespaces" value="App" />
<parameter name="dns-mock-namespaces" value="App" />
</bootstrap>
</extensions>
</phpunit>