aboutsummaryrefslogtreecommitdiffstats
path: root/phpunit.xml
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-08-17 20:47:23 +0200
committerWilly Micieli <micieli@laposte.net>2019-08-17 20:47:23 +0200
commit26a1ca984c6cff1c5337e92c6a56b85ffc1dbc06 (patch)
treef2eafebf8d2ced086684cca1b1ae6e3955afa539 /phpunit.xml
downloadshaolin-26a1ca984c6cff1c5337e92c6a56b85ffc1dbc06.zip
shaolin-26a1ca984c6cff1c5337e92c6a56b85ffc1dbc06.tar.gz
start arch
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 0000000..7ba92c2
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit backupGlobals="false"
+ backupStaticAttributes="false"
+ bootstrap="vendor/autoload.php"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ processIsolation="false"
+ stopOnFailure="true"
+ printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer">
+
+ <testsuites>
+ <testsuite name="Unit">
+ <directory suffix="Test.php">./tests/Unit</directory>
+ </testsuite>
+
+ <testsuite name="Feature">
+ <directory suffix="Test.php">./tests/Feature</directory>
+ </testsuite>
+ </testsuites>
+ <filter>
+ <whitelist processUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">./app</directory>
+ </whitelist>
+ </filter>
+</phpunit>