forked from GetDKAN/dkan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
67 lines (67 loc) · 2.95 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
bootstrap="/var/www/html/vendor/weitzman/drupal-test-traits/src/bootstrap.php"
colors="true"
verbose="true">
<coverage>
<include>
<directory>.</directory>
</include>
<exclude>
<file>rector.php</file>
<directory>tests</directory>
<directory>modules/common/tests</directory>
<directory>modules/datastore/tests</directory>
<directory>modules/datastore/modules/datastore_mysql_import/tests</directory>
<directory>modules/dkan_js_frontend/tests</directory>
<directory>modules/frontend/tests</directory>
<directory>modules/harvest/tests</directory>
<directory>modules/json_form_widget/tests</directory>
<directory>modules/metastore/tests</directory>
<directory>modules/metastore/modules/metastore_admin/tests</directory>
<directory>modules/metastore/modules/metastore_search/tests</directory>
<directory>modules/sample_content</directory>
<directory suffix="TestBase.php">./</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="DKAN Test Suite">
<directory>.</directory>
</testsuite>
<testsuite name="DkanUnitTests">
<directory>modules/common/tests/src/Unit</directory>
<directory>modules/metastore/modules/metastore_search/tests/src/Unit</directory>
<directory>modules/datastore/tests/src/Unit</directory>
<directory>modules/datastore/modules/datastore_mysql_import/tests/src/Unit</directory>
<directory>modules/frontend/tests/src/Unit</directory>
<directory>modules/dkan_js_frontend/tests/src</directory>
<directory>modules/harvest/tests/src/Unit</directory>
<directory>modules/json_form_widget/tests/src/Unit</directory>
</testsuite>
<testsuite name="DkanFunctionalTests">
<directory>modules/common/tests/src/Functional</directory>
<directory>modules/metastore/tests/src/Functional</directory>
<directory>modules/metastore/modules/metastore_search/tests/src/Functional</directory>
<directory>modules/metastore/modules/metastore_admin/tests/src/Functional</directory>
<directory>modules/datastore/tests/src/Functional</directory>
<directory>modules/dkan_js_frontend/tests/src</directory>
<directory>tests/src/Functional</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>requires-database</group>
</exclude>
</groups>
<php>
<!-- These variables may alternatively be set as environment variables. -->
<!-- E.g., `DRUPAL_VERSION=V8 ./vendor/bin/phpunit` -->
<env name="DRUPAL_ROOT" value="/var/www/docroot"/>
<env name="DTT_BASE_URL" value="http://web"/>
<env name="SIMPLETEST_BASE_URL" value="http://web"/>
<env name="SIMPLETEST_DB" value="mysql://drupal:123@db/drupal"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
</php>
</phpunit>