-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
42 lines (39 loc) · 2.06 KB
/
phpunit.xml.dist
File metadata and controls
42 lines (39 loc) · 2.06 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copy the samples below into your own phpunit.xml file.-->
<!-- Using this project's bootstrap file allows tests in `ExistingSite`,
`ExistingSiteSelenium2DriverTest`, and `ExistingSiteWebDriverTest`
to run alongside core's test types. -->
<!-- ProcessIsolation: Runs each test in a new PHP thread when set to true.
This ensures that PHP memory limit is not reached during tests as the
number of tests build up over time in the project. -->
<phpunit bootstrap=".bootstrap-fast.php" processIsolation="true" testdox="true">
<php>
<env name="DTT_BASE_URL" value="http://web"/>
<env name="DTT_API_URL" value="http://localhost:9222"/>
<env name="BROWSERTEST_OUTPUT_DIRECTORY" value=""/>
<!-- To disable deprecation testing completely uncomment the next line. -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
<!-- Specify the default directory screenshots should be placed. -->
<env name="DTT_SCREENSHOT_REPORT_DIRECTORY" value="screenshots"/>
</php>
<testsuites>
<testsuite name="unit">
<directory>./web/modules/custom/*/tests/src/Unit</directory>
<!--<directory>./web/profiles/custom/*/tests/src/Unit</directory>-->
</testsuite>
<testsuite name="kernel">
<directory>./web/modules/custom/*/tests/src/Kernel</directory>
<!--<directory>./web/profiles/custom/*/tests/src/Kernel</directory>-->
</testsuite>
<testsuite name="existing-site">
<!-- Assumes tests are namespaced as \Drupal\Tests\custom_foo\ExistingSite. -->
<directory>./web/modules/custom/*/tests/src/ExistingSite</directory>
<!--<directory>./web/profiles/custom/*/tests/src/ExistingSite</directory>-->
</testsuite>
<testsuite name="existing-site-javascript">
<!-- Assumes tests are namespaced as \Drupal\Tests\custom_foo\ExistingSiteJavascript. -->
<directory>./web/modules/custom/*/tests/src/ExistingSiteJavascript</directory>
<!--<directory>./web/profiles/custom/*/tests/src/ExistingSiteJavascript</directory>-->
</testsuite>
</testsuites>
</phpunit>