adding coverage html

This commit is contained in:
Thomas Mueller 2012-10-18 23:29:27 +02:00
parent 59c2414439
commit 7be661872f
1 changed files with 4 additions and 3 deletions

View File

@ -87,15 +87,16 @@ function execute_tests {
echo "Testing with $1 ..." echo "Testing with $1 ..."
cd tests cd tests
#php -f index.php -- xml $1 > autotest-results-$1.xml #php -f index.php -- xml $1 > autotest-results-$1.xml
phpunit --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml mkdir coverage-html-$1
phpunit --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1
} }
# #
# start test execution # start test execution
# #
execute_tests "sqlite" execute_tests "sqlite"
execute_tests 'mysql' #execute_tests 'mysql'
execute_tests 'pgsql' #execute_tests 'pgsql'
# #
# NOTES on mysql: # NOTES on mysql: