forked from elementor/elementor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
executable file
·37 lines (34 loc) · 920 Bytes
/
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
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<php>
<env name="PLUGIN_FILE" value="elementor.php"/>
<env name="WP_TESTS_DIR" value="./tmp/wordpress-tests-lib"/>
</php>
<testsuites>
<testsuite name="elementor">
<directory prefix="test-" suffix=".php">./tests/phpunit/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./</directory>
<exclude>
<directory>.github</directory>
<directory>assets</directory>
<directory>bin</directory>
<directory>build</directory>
<directory>docs</directory>
<directory>node_modules</directory>
<directory>tests</directory>
<directory>includes/libraries</directory>
<directory>vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>