diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-06-17 14:14:40 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-06-17 14:14:40 +0300 |
commit | 2291dd63c281efbec3d6e8f27459af1fcd9e023d (patch) | |
tree | cc8d410907d3d5c3bb7a31a768b090dfb165dbc2 /tests/phpunit.xml | |
parent | 70331ba79f56346ad3d6a5e44261addbcdc42c75 (diff) |
Add unit test framework to test installing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/phpunit.xml')
-rw-r--r-- | tests/phpunit.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/phpunit.xml b/tests/phpunit.xml new file mode 100644 index 000000000..3ecf457ab --- /dev/null +++ b/tests/phpunit.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8" ?> +<phpunit bootstrap="bootstrap.php" + verbose="true" + timeoutForSmallTests="900" + timeoutForMediumTests="900" + timeoutForLargeTests="900" + > + <testsuite name='Text App Tests'> + <directory suffix='Test.php'>.</directory> + </testsuite> + <!-- filters for code coverage --> + <filter> + <whitelist> + <directory suffix=".php">../appinfo</directory> + <directory suffix=".php">../lib</directory> + </whitelist> + </filter> + <logging> + <!-- and this is where your report will be written --> + <log type="coverage-clover" target="./clover.xml"/> + </logging> +</phpunit> + |