-
Notifications
You must be signed in to change notification settings - Fork 44
/
phpunit.xml
46 lines (43 loc) · 1.75 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
<phpunit bootstrap="./engine/tests/phpunit/bootstrap.php">
<testsuites>
<testsuite name="All Tests">
<directory>./engine/tests/phpunit/</directory>
<directory>./engine/classes/</directory>
<directory>./mod/*/tests/phpunit</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">/engine/tests</directory>
<directory suffix=".php">/engine/lib/upgrades</directory>
<file>/engine/settings.example.php</file>
<directory suffix=".php">/vendor</directory>
<directory suffix=".php">/vendors</directory>
<directory suffix=".php">/docs</directory>
</blacklist>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./actions</directory>
<directory suffix=".php">./engine/classes</directory>
<directory suffix=".php">./engine/lib</directory>
<directory suffix=".php">./languages</directory>
<directory suffix=".php">./views</directory>
<directory suffix=".php">./mod/*/actions</directory>
<directory suffix=".php">./mod/*/languages</directory>
<directory suffix=".php">./mod/*/lib</directory>
<directory suffix=".php">./mod/*/classes</directory>
<directory suffix=".php">./mod/*/views</directory>
<directory>./mod/*.php</directory>
<exclude>
<directory suffix=".php">./elgg-config</directory>
<directory suffix=".php">./install</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">*/grunt/*</directory>
</exclude>
</whitelist>
</filter>
</phpunit>