diff options
author | Mario <mario@mariovavti.com> | 2020-11-26 11:14:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-26 11:14:40 +0000 |
commit | 5e1addc75e73e84254e820fc67dba057a8728db6 (patch) | |
tree | 23f2c27072f9642622de85b0838e72a8e14949cb /tests/phpunit.xml.dist | |
parent | 138beeac41824394ad9a40e857ae9823e64e066c (diff) | |
download | volse-hubzilla-5e1addc75e73e84254e820fc67dba057a8728db6.tar.gz volse-hubzilla-5e1addc75e73e84254e820fc67dba057a8728db6.tar.bz2 volse-hubzilla-5e1addc75e73e84254e820fc67dba057a8728db6.zip |
revert folder renaming
Diffstat (limited to 'tests/phpunit.xml.dist')
-rw-r--r-- | tests/phpunit.xml.dist | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/phpunit.xml.dist b/tests/phpunit.xml.dist new file mode 100644 index 000000000..97c84fb81 --- /dev/null +++ b/tests/phpunit.xml.dist @@ -0,0 +1,49 @@ +<?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> + <php> + <!-- Default test database config, only used if no environment variables + with same names are set. + !!! Never run against a real database, it will truncate all tables --> + <env name="hz_db_server" value="127.0.0.1"/> + <env name="hz_db_scheme" value="mysql"/> + <env name="hz_db_port" value="3306"/> + <env name="hz_db_user" value="travis_hz"/> + <env name="hz_db_pass" value="hubzilla"/> + <env name="hz_db_database" value="travis_hubzilla"/> + </php> +</phpunit> |