Repository navigation
Expand file tree
/
Copy pathphpunit.xml
More file actions
43 lines (43 loc) · 1.47 KB
/
Copy pathphpunit.xml
File metadata and controls
43 lines (43 loc) · 1.47 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
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
cacheDirectory=".phpunit.cache"
failOnWarning="false"
failOnNotice="false"
failOnDeprecation="false"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnPhpunitDeprecations="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
>
<coverage>
<report>
<clover outputFile="tests/reports/clover.xml"/>
</report>
</coverage>
<php>
<const name="WP_TEST_ACTIVATED_PLUGINS" value="advanced-custom-fields/acf.php,easy-digital-downloads/easy-digital-downloads.php,jetpack/jetpack.php,user-switching/user-switching.php,wordpress-seo/wp-seo.php,two-factor/two-factor.php"/>
</php>
<testsuites>
<testsuite name="stream">
<directory suffix="Test.php">tests/phpunit</directory>
<exclude>tests/phpunit/unit</exclude>
</testsuite>
</testsuites>
<source>
<include>
<directory prefix="class-" suffix=".php">abilities</directory>
<directory prefix="class-" suffix=".php">alerts</directory>
<directory prefix="class-" suffix=".php">classes</directory>
<directory prefix="class-" suffix=".php">connectors</directory>
<directory prefix="class-" suffix=".php">exporters</directory>
<directory prefix="class-" suffix=".php">includes</directory>
</include>
<exclude>
<file>classes/class-cli.php</file>
<directory>includes/lib</directory>
</exclude>
</source>
</phpunit>