| 1 |
<phpunit |
| 2 |
bootstrap="tests/bootstrap.php" |
| 3 |
backupGlobals="false" |
| 4 |
colors="true" |
| 5 |
convertErrorsToExceptions="true" |
| 6 |
convertNoticesToExceptions="true" |
| 7 |
convertWarningsToExceptions="true" |
| 8 |
> |
| 9 |
<php> |
| 10 |
<env name="PLUGIN_FILE" value="hello-plus.php"/> |
| 11 |
<env name="WP_TESTS_DIR" value="./tmp/wordpress-tests-lib"/> |
| 12 |
<env name="WP_TESTS_ELEMENTOR_DIR" value="./tmp/elementor/elementor.php"/> |
| 13 |
</php> |
| 14 |
|
| 15 |
<testsuites> |
| 16 |
<testsuite name="hello-plus"> |
| 17 |
<directory prefix="test-" suffix=".php">./tests/phpunit/hello-plus/</directory> |
| 18 |
</testsuite> |
| 19 |
</testsuites> |
| 20 |
|
| 21 |
<filter> |
| 22 |
<whitelist> |
| 23 |
<directory suffix=".php">./</directory> |
| 24 |
<exclude> |
| 25 |
<directory>.github</directory> |
| 26 |
<directory>assets</directory> |
| 27 |
<directory>bin</directory> |
| 28 |
<directory>build</directory> |
| 29 |
<directory>node_modules</directory> |
| 30 |
<directory>vendor</directory> |
| 31 |
<directory>tests</directory> |
| 32 |
</exclude> |
| 33 |
</whitelist> |
| 34 |
</filter> |
| 35 |
|
| 36 |
</phpunit> |
| 37 |
|