Repository navigation
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
34 lines (34 loc) · 1.6 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
34 lines (34 loc) · 1.6 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
>
<php>
<!-- The functional suite boots one kernel per configuration and renders every page; the HTML coverage report needs
more on top (spec 213 went past 512M while writing it; 2.22.0 past 1G). -->
<ini name="memory_limit" value="2G"/>
<!-- REQ-SF-005: fail on direct Symfony deprecations -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0"/>
<!-- WebTestCase kernel (tests/Functional): the bundle on SQLite in memory, or TASK_BOARD_TEST_DATABASE_URL -->
<server name="KERNEL_CLASS" value="Nowo\TaskBoardBundle\Tests\Functional\App\FunctionalKernel"/>
</php>
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="functional">
<directory>tests/Functional</directory>
</testsuite>
</testsuites>
<source>
<include><directory>src</directory></include>
<exclude>
<!-- Twig, translations, config and built assets: no PHP to measure. Nothing else is excluded (REQ-TEST-003):
Controller, Repository, Doctrine and Form are covered by the functional and repository tests. -->
<directory>src/Resources</directory>
</exclude>
</source>
</phpunit>