forked from phenaproxima/starshot-prototype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
52 lines (48 loc) · 2.82 KB
/
phpunit.xml
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
<?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. -->
<!-- If you use the default `bootstrap-fast.php` and get 'class not
found' errors while running tests, head over to
https://gitlab.com/weitzman/drupal-test-traits/-/blob/master/src/bootstrap-fast.php
for explanation on how to register those classes.
-->
<phpunit bootstrap="vendor/weitzman/drupal-test-traits/src/bootstrap-fast.php">
<php>
<env name="DTT_BASE_URL" value="http://localhost"/>
<env name="DTT_API_URL" value="http://localhost:9222"/>
<!-- <env name="DTT_MINK_DRIVER_ARGS" value='["chrome", { "chromeOptions" : { "w3c": false } }, "http://localhost:4444/wd/hub"]'/> -->
<env name="DTT_MINK_DRIVER_ARGS" value='["firefox", null, "http://localhost:4444/wd/hub"]'/>
<env name="DTT_API_OPTIONS" value='{"socketTimeout": 360, "domWaitTimeout": 3600000}' />
<!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /tmp
Specify a temporary directory for storing debug images and html documents.
These artifacts get copied to /sites/simpletest/browser_output by BrowserTestBase. -->
<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=""/>-->
<!-- Specify the default directory page captures should be placed.
When using the \Drupal\Tests\Listeners\HtmlOutputPrinter printerClass this will default to
/sites/simpletest/browser_output. If using another printer such as teamcity this must be defined.
-->
<!--<env name="DTT_HTML_OUTPUT_DIRECTORY" value=""/>-->
</php>
<testsuites>
<!--<testsuite name="unit">
<directory>./web/modules/custom/*/tests/src/Unit</directory>
</testsuite>-->
<!--<testsuite name="kernel">
<directory>./web/modules/custom/*/tests/src/Kernel</directory>
</testsuite>-->
<testsuite name="existing-site">
<!-- Assumes tests are namespaced as \Drupal\Tests\custom_foo\ExistingSite. -->
<directory>./tests/src/ExistingSite</directory>
</testsuite>
<testsuite name="existing-site-javascript">
<!-- Assumes tests are namespaced as \Drupal\Tests\custom_foo\ExistingSiteJavascript. -->
<directory>./tests/src/ExistingSiteJavascript</directory>
</testsuite>
</testsuites>
</phpunit>