adding coverage html
This commit is contained in:
parent
59c2414439
commit
7be661872f
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue