summaryrefslogtreecommitdiffstats
path: root/phpunit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 0000000..d8ef2a6
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,17 @@
+<phpunit
+ bootstrap="tests/bootstrap.php"
+ backupGlobals="false"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ >
+ <php>
+ <env name="WP_PHPUNIT__TESTS_CONFIG" value="/var/www/html/wp-phpunit-config.php" />
+ </php>
+ <testsuites>
+ <testsuite name="default">
+ <directory suffix="Test.php">./tests/</directory>
+ </testsuite>
+ </testsuites>
+</phpunit>