Skip to content
Snippets Groups Projects
Commit c0263173 authored by Thomas Müller's avatar Thomas Müller
Browse files

add phpunit configuration for autotest withou the json listener because this pollutes the console

parent 10ea45c9
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
#
......
<?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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment