-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathphpunit-performance.xml
More file actions
48 lines (48 loc) · 1.92 KB
/
Copy pathphpunit-performance.xml
File metadata and controls
48 lines (48 loc) · 1.92 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.1/phpunit.xsd"
bootstrap="../../tests/bootstrap.php"
colors="true"
stopOnFailure="false"
executionOrder="depends,defects"
beStrictAboutOutputDuringTests="false"
beStrictAboutChangesToGlobalState="false"
cacheDirectory="../../.phpunit.cache"
>
<coverage/>
<source>
<include>
<directory suffix=".php">../../src</directory>
</include>
<exclude>
<directory>../../src/Migrations</directory>
<directory>../../src/DataFixtures</directory>
</exclude>
</source>
<testsuites>
<testsuite name="performance">
<directory>../../tests/Performance</directory>
</testsuite>
<testsuite name="performance-unit">
<file>../../tests/Performance/ExportPerformanceTest.php</file>
<file>../../tests/Performance/ExportActionPerformanceTest.php</file>
</testsuite>
<testsuite name="performance-integration">
<file>../../tests/Performance/ExportWorkflowIntegrationTest.php</file>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="test" force="true"/>
<server name="KERNEL_CLASS" value="App\Kernel"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
<server name="SYMFONY_PHPUNIT_VERSION" value="13.1"/>
<!-- Increase memory and time limits for performance tests -->
<ini name="memory_limit" value="512M"/>
<ini name="max_execution_time" value="300"/>
<!-- Disable opcache for consistent benchmarking (enable_cli is PHP_INI_SYSTEM
and cannot be set at runtime, so it is left to the image's php.ini) -->
<ini name="opcache.enable" value="0"/>
</php>
</phpunit>