aboutsummaryrefslogtreecommitdiffstats
path: root/tests
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
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')
-rw-r--r--tests/infection.json.dist15
l---------tests/phpunit-mariadb.xml1
-rw-r--r--tests/phpunit-pgsql.xml1
-rw-r--r--tests/phpunit.xml.dist (renamed from tests/phpunit-mysql.xml)3
4 files changed, 18 insertions, 2 deletions
diff --git a/tests/infection.json.dist b/tests/infection.json.dist
new file mode 100644
index 000000000..36b251982
--- /dev/null
+++ b/tests/infection.json.dist
@@ -0,0 +1,15 @@
+{
+ "timeout": 13,
+ "source": {
+ "directories": [
+ "include",
+ "Zotlabs"
+ ]
+ },
+ "logs": {
+ "text": "tests/results/infection-log.txt"
+ },
+ "phpUnit": {
+ "configDir": "tests"
+ }
+}
diff --git a/tests/phpunit-mariadb.xml b/tests/phpunit-mariadb.xml
deleted file mode 120000
index 63656b78b..000000000
--- a/tests/phpunit-mariadb.xml
+++ /dev/null
@@ -1 +0,0 @@
-phpunit-mysql.xml \ No newline at end of file
diff --git a/tests/phpunit-pgsql.xml b/tests/phpunit-pgsql.xml
index ace14e196..ec4a6fc2d 100644
--- a/tests/phpunit-pgsql.xml
+++ b/tests/phpunit-pgsql.xml
@@ -30,5 +30,6 @@
<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>
diff --git a/tests/phpunit-mysql.xml b/tests/phpunit.xml.dist
index 171211094..a22317b08 100644
--- a/tests/phpunit-mysql.xml
+++ b/tests/phpunit.xml.dist
@@ -14,7 +14,7 @@
<directory suffix="Test.php" prefix="API">./unit/</directory>
</testsuite>
<testsuite name="Ex-/Import Test Suite">
- <directory suffix="Test.php">./unit/eximport/</directory>
+ <!--<directory suffix="Test.php">./unit/eximport/</directory>-->
</testsuite>
<groups>
<exclude>
@@ -33,5 +33,6 @@
<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>