-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
63 lines (61 loc) · 3.41 KB
/
Copy pathphpunit.xml
File metadata and controls
63 lines (61 loc) · 3.41 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticProperties="false" beStrictAboutOutputDuringTests="false" beStrictAboutTestsThatDoNotTestAnything="true" bootstrap="vendor/autoload.php" cacheDirectory=".cache/phpunit" cacheResult="true" colors="true" failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd">
<testsuites>
<testsuite name="Feature">
<directory suffix="Test.php">./packages/*/tests/Feature</directory>
<directory suffix="Test.php">./tests/Integration/Feature</directory>
<exclude>./packages/*/tests/Browser</exclude>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./packages/*/tests/Integration</directory>
<directory suffix="Test.php">./tests/Integration</directory>
<exclude>./tests/Integration/Feature</exclude>
<exclude>./packages/*/tests/Browser</exclude>
</testsuite>
<testsuite name="Unit">
<directory suffix="Test.php">./packages/*/tests/Unit</directory>
<directory suffix="Test.php">./tests/Unit</directory>
<exclude>./packages/*/tests/Browser</exclude>
</testsuite>
</testsuites>
<source restrictNotices="true" restrictWarnings="true" ignoreSuppressionOfDeprecations="true" ignoreIndirectDeprecations="true">
<include>
<directory suffix=".php">packages/admin/src/.</directory>
<directory suffix=".php">packages/core/src/.</directory>
<directory suffix=".php">packages/frontend/src/.</directory>
<directory suffix=".php">packages/installer/src/.</directory>
<directory suffix=".php">packages/marketplace/src/.</directory>
</include>
</source>
<php>
<!--
Authoritative PHP memory limit for every test process.
PHPUnit applies <ini> entries through ini_set() while bootstrapping, in the
runner and in every parallel worker alike. That runs after PHP has read the
command line, so it overrides a `-d memory_limit=` flag and paratest's
`passthru-php` option. Setting the limit anywhere else has no effect, so
change it here. Workers inherit nothing else: delete this line and they drop
to the host php.ini default.
1G is sized for a test worker. Coverage runs need far more, because the
parallel runner deserialises every worker's coverage set in the parent to
merge them, so they use phpunit-coverage.xml instead. Keep the two files
identical apart from this value; CoverageWorkflowTest enforces that.
-->
<ini name="memory_limit" value="1G"/>
<server name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="12345678901234567890123456789012"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_STORE" value="array" force="true"/>
<env name="CURATOR_GLIDE_TOKEN" value="123456789"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="DB_URL" value=""/>
<env name="MAIL_MAILER" value="array"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="QUEUE_CONNECTION" value="sync" force="true"/>
<env name="SESSION_DRIVER" value="array" force="true"/>
<env name="TELESCOPE_ENABLED" value="false"/>
<env name="CAPELL_HTML_CACHE" value="false"/>
<env name="SETTINGS_CACHE_ENABLED" value="true"/>
</php>
</phpunit>