aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit.xml.dist
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-11-24 23:38:41 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-11-25 21:49:51 +0100
commitee929752e345f4d2fb02503fd589f9ad834a745c (patch)
treeb46675653b382ff4a19007de32c6690308bb0b92 /tests/phpunit.xml.dist
parente1fdac32782de11e443c7398ff3fb9870fa9b2d9 (diff)
downloadvolse-hubzilla-ee929752e345f4d2fb02503fd589f9ad834a745c.tar.gz
volse-hubzilla-ee929752e345f4d2fb02503fd589f9ad834a745c.tar.bz2
volse-hubzilla-ee929752e345f4d2fb02503fd589f9ad834a745c.zip
:construction_worker:Improve Travis, add PHP7.2.
Improve Travis CI configuration a bit and add PHP7.2 to the test matrix. Add PHPUnit Testdox output and optionally deploy test results on release tags. Add a configuration file for infection (Mutation Testing Framework).
Diffstat (limited to 'tests/phpunit.xml.dist')
-rw-r--r--tests/phpunit.xml.dist38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/phpunit.xml.dist b/tests/phpunit.xml.dist
new file mode 100644
index 000000000..a22317b08
--- /dev/null
+++ b/tests/phpunit.xml.dist
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
+ bootstrap="../boot.php"
+ forceCoversAnnotation="false"
+ beStrictAboutCoversAnnotation="true"
+ beStrictAboutOutputDuringTests="true"
+ beStrictAboutTodoAnnotatedTests="true"
+ verbose="true">
+ <testsuite name="Hubzilla default Test Suite">
+ <directory suffix="Test.php">./unit/</directory>
+ </testsuite>
+ <testsuite name="API Test Suite">
+ <directory suffix="Test.php" prefix="API">./unit/</directory>
+ </testsuite>
+ <testsuite name="Ex-/Import Test Suite">
+ <!--<directory suffix="Test.php">./unit/eximport/</directory>-->
+ </testsuite>
+ <groups>
+ <exclude>
+ <group>postgresql</group>
+ </exclude>
+ </groups>
+ <!--cover reporting-->
+ <filter>
+ <whitelist processUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">../Zotlabs/</directory>
+ <directory suffix=".php">../include/</directory>
+ </whitelist>
+ </filter>
+ <logging>
+ <log type="junit" target="./results/junit.xml" logIncompleteSkipped="false"/>
+ <log type="coverage-clover" target="./results/coverage-clover.xml"/>
+ <log type="coverage-html" target="./results/coverage-report/" lowUpperBound="35"
+ highLowerBound="70"/>
+ <log type="testdox-text" target="./results/testdox.txt"/>
+ </logging>
+</phpunit>