]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - phpunit.xml
LinkDB: move to a proper file, add test coverage
[github/shaarli/Shaarli.git] / phpunit.xml
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644 (file)
index 0000000..d6e01c3
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
+    colors="true">
+  <filter>
+    <whitelist addUncoveredFilesFromWhitelist="true">
+      <directory suffix=".php">application</directory>
+    </whitelist>
+  </filter>
+  <logging>
+    <log type="coverage-html" target="coverage" lowUpperBound="30" highLowerBound="80"/>
+    <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
+  </logging>
+</phpunit>