-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathphpunit.xml
63 lines (60 loc) · 2.73 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
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.6/phpunit.xsd"
bootstrap="../../../core/tests/bootstrap.php"
colors="true"
stopOnFailure="false"
stopOnError="false"
verbose="true">
<testsuites>
<testsuite name="DKAN Test Suite">
<directory>modules/dkan_api/tests/src/Unit</directory>
<directory>modules/dkan_common/tests/src/Unit</directory>
<directory>modules/dkan_data/tests/src/Unit</directory>
<directory>modules/dkan_datastore/tests/src/Unit</directory>
<directory>modules/dkan_frontend/tests/src/Unit</directory>
<directory>modules/dkan_harvest/test/src/Unit</directory>
<directory>modules/dkan_metastore/tests/src/Unit</directory>
<directory>modules/dkan_non_public/tests/src/Unit</directory>
<directory>modules/dkan_schema/tests/src/Unit</directory>
<directory>modules/dkan_search/tests/src/Unit</directory>
<directory>modules/dkan_sql_endpoint/tests/src/Unit</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_VERSION" value="V8"/>
<env name="SIMPLETEST_BASE_URL" value="http://web"/>
</php>
<filter>
<!-- whitelist needed for code coverage generation to work -->
<whitelist>
<directory>modules/dkan_api/src</directory>
<directory>modules/dkan_common/src</directory>
<directory>modules/dkan_data/src</directory>
<directory>modules/dkan_datastore/src</directory>
<directory>modules/dkan_frontend/src</directory>
<directory>modules/dkan_harvest/src</directory>
<directory>modules/dkan_lunr/src</directory>
<directory>modules/dkan_metastore/src</directory>
<directory>modules/dkan_non_public/src</directory>
<directory>modules/dkan_schema/src</directory>
<directory>modules/dkan_search/src</directory>
<directory>modules/dkan_sql_endpoint/src</directory>
<!-- By definition test classes have no tests. -->
<exclude>
<directory>modules/dkan_common/src/Tests</directory>
<directory suffix="Test.php">./</directory>
<directory suffix="TestBase.php">./</directory>
<!-- TBD: skip the drush commands for now -->
<directory suffix="Commands.php">./</directory>
</exclude>
</whitelist>
</filter>
</phpunit>