diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-05 23:20:55 +0400 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-05 23:20:55 +0400 |
commit | c0263173d2d7ae0281476ba5f3b1f62b4764af58 (patch) | |
tree | 94da2a79a5c569efc8e55bb3dc2f25898bfc96b7 | |
parent | 10ea45c916aceac368c8e6d4c6c7d7f4000c182f (diff) |
add phpunit configuration for autotest withou the json listener because this pollutes the console
-rwxr-xr-x | autotest.sh | 2 | ||||
-rw-r--r-- | tests/phpunit-autotest.xml | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh index 744bcdbe8f9..fdf6d2fe098 100755 --- a/autotest.sh +++ b/autotest.sh @@ -90,7 +90,7 @@ function execute_tests { rm -rf coverage-html-$1 mkdir coverage-html-$1 php -f enable_all.php - phpunit --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 + phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 } # diff --git a/tests/phpunit-autotest.xml b/tests/phpunit-autotest.xml new file mode 100644 index 00000000000..23cd123edc6 --- /dev/null +++ b/tests/phpunit-autotest.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<phpunit bootstrap="bootstrap.php"> + <testsuite name='ownCloud'> + <directory suffix='.php'>lib/</directory> + <file>apps.php</file> + </testsuite> + <!-- filters for code coverage --> + <whitelist processUncoveredFilesFromWhitelist="true"> + <directory suffix=".php">..</directory> + <exclude> + <directory suffix=".php">../3rdparty</directory> + </exclude> + </whitelist> +</phpunit> |