forked from goalgorilla/open_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
45 lines (44 loc) · 1.84 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="../../../core/tests/bootstrap.php"
colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true"
>
<php>
<!-- Set error reporting to E_ALL. -->
<ini name="error_reporting" value="32767"/>
<!-- Do not limit the amount of memory tests take to run. -->
<ini name="memory_limit" value="-1"/>
<!-- The base URL of the Open Social web container -->
<env name="SIMPLETEST_BASE_URL" value="http://social.localhost" />
<!-- The URI that connects to the database -->
<env name="SIMPLETEST_DB" value="sqlite://localhost/sites/default/files/db.sqlite" />
<!-- Put any browser test output in a place where we can view it -->
<env name="BROWSERTEST_OUTPUT_DIRECTORY" value="/var/www/html/sites/simpletest/browser_output"/>
<!-- To disable deprecation testing completely set SYMFONY_DEPRECATIONS_HELPER value: 'disabled' -->
<!-- Will be removed in Open Social 12.0.0 -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
<!-- End remove. -->
<!-- Add an empty string, because is return bool because the variable doesn't exist -->
<env name="SIMPLETEST_IGNORE_DIRECTORIES" value="" />
</php>
<testsuites>
<testsuite name="phpstan">
<directory>tests/phpstan/src/</directory>
</testsuite>
<testsuite name="unit">
<directory>modules/*/*/tests/src/Unit</directory>
<directory>modules/*/*/modules/*/tests/src/Unit</directory>
</testsuite>
<testsuite name="kernel">
<directory>modules/*/*/tests/src/Kernel</directory>
<directory>modules/*/*/modules/*/tests/src/Kernel</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Drupal\Tests\Listeners\DrupalListener">
</listener>
</listeners>
</phpunit>