-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
83 lines (81 loc) · 3.57 KB
/
phpunit.xml.dist
File metadata and controls
83 lines (81 loc) · 3.57 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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="./vendor/autoload.phpp"
cacheDirectory=".phpunit.cache"
colors="true"
displayDetailsOnPhpunitDeprecations="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
failOnNotice="true"
failOnRisky="true"
failOnWarning="true">
<php>
<!-- configure individual settings via env (copy this file to 'phpunit.xml' and fill in the values you need, it won't be committed to GitHub) -->
<!--
<env name="ELGG_DB_HOST" value="localhost"/>
<env name="ELGG_DB_PORT" value="3306"/>
<env name="ELGG_DB_NAME" value=""/>
<env name="ELGG_DB_USER" value=""/>
<env name="ELGG_DB_PASS" value=""/>
<env name="ELGG_DB_PREFIX" value=""/>
<env name="ELGG_DB_ENCODING" value="utf8mb4"/>
<env name="ELGG_WWWROOT" value="http://localhost/"/>
<env name="ELGG_SEEDER_LOCAL_IMAGE_FOLDER" value=""/>
-->
<ini name="memory_limit" value="-1"/>
<ini name="max_execution_time" value="0"/>
</php>
<testsuites>
<testsuite name="project-unit">
<directory>./tests/phpunit/unit/</directory>
</testsuite>
<testsuite name="project-integration">
<directory>./tests/phpunit/integration/</directory>
</testsuite>
<testsuite name="elgg-core-unit">
<directory>./vendor/elgg/elgg/engine/tests/phpunit/unit/</directory>
</testsuite>
<testsuite name="elgg-core-integration">
<directory>./vendor/elgg/elgg/engine/tests/phpunit/integration/</directory>
</testsuite>
<testsuite name="plugins-unit">
<directory>./mod/*/tests/phpunit/unit/</directory>
</testsuite>
<testsuite name="plugins-integration-generic">
<directory>./vendor/elgg/elgg/engine/tests/phpunit/plugins_integration/</directory>
</testsuite>
<testsuite name="plugins-integration">
<directory>./mod/*/tests/phpunit/integration/</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./vendor/elgg/elgg/actions</directory>
<directory suffix=".php">./vendor/elgg/elgg/engine/classes</directory>
<directory suffix=".php">./vendor/elgg/elgg/engine/lib</directory>
<directory suffix=".php">./mod/*/actions</directory>
<directory suffix=".php">./mod/*/lib</directory>
<directory suffix=".php">./mod/*/classes</directory>
</include>
<exclude>
<directory suffix=".php">./elgg-config</directory>
<directory suffix=".php">*/vendor/*</directory>
<directory suffix=".php">*/vendors/*</directory>
<directory suffix=".php">*/tests/*</directory>
<directory suffix=".php">*/bower_components/*</directory>
<directory suffix=".php">*/node_modules/*</directory>
<directory suffix=".php">*/docs/*</directory>
<directory suffix=".php">./engine/schema/*</directory>
<directory suffix=".php">./engine/vendor_classes/*</directory>
<directory suffix=".php">./languages</directory>
<directory suffix=".php">./views</directory>
<directory suffix=".php">./mod/*/languages</directory>
<directory suffix=".php">./mod/*/views</directory>
<file>./vendor/elgg/elgg/engine/lib/deprecated-*.php</file>
<file>./vendor/elgg/elgg/engine/lib/constants.php</file>
</exclude>
</source>
</phpunit>