Add phpunit config for code coverage generation
authorgggeek <giunta.gaetano@gmail.com>
Mon, 6 Nov 2017 01:08:08 +0000 (01:08 +0000)
committergggeek <giunta.gaetano@gmail.com>
Mon, 6 Nov 2017 01:08:08 +0000 (01:08 +0000)
phpunit.xml [new file with mode: 0644]

diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644 (file)
index 0000000..6426cab
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<phpunit colors="true">
+
+    <!-- code coverage reporting -->
+    <filter>
+        <whitelist>
+            <directory suffix=".php">./</directory>
+            <exclude>
+                <directory>./Resources</directory>
+                <directory>./tests</directory>
+                <directory>./vendor</directory>
+                <file>./pakefile.php</file>
+            </exclude>
+        </whitelist>
+    </filter>
+
+    <testsuites>
+        <testsuite name="PHPXMLRPC Test Suite">
+            <directory>./tests</directory>
+        </testsuite>
+    </testsuites>
+
+</phpunit>
\ No newline at end of file