-
Notifications
You must be signed in to change notification settings - Fork 244
Expand file tree
/
Copy pathphpunit.xml
More file actions
37 lines (34 loc) · 1019 Bytes
/
phpunit.xml
File metadata and controls
37 lines (34 loc) · 1019 Bytes
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
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<php>
<env name="THEME_FILE" value="functions.php"/>
<env name="WP_TESTS_DIR" value="./tmp/wordpress-tests-lib"/>
<env name="WP_TESTS_ELEMENTOR_DIR" value="./tmp/elementor/elementor.php"/>
<env name="WP_TESTS_HELLOPLUS_DIR" value="./tmp/hello-plus/hello-plus.php"/>
</php>
<testsuites>
<testsuite name="hello-elementor">
<directory prefix="test-" suffix=".php">./tests/phpunit/hello-elementor/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./</directory>
<exclude>
<directory>.github</directory>
<directory>assets</directory>
<directory>bin</directory>
<directory>build</directory>
<directory>node_modules</directory>
<directory>vendor</directory>
<directory>tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>