]> source.dussan.org Git - nextcloud-server.git/commitdiff
move autotest to phpunit
authorThomas Mueller <thomas.mueller@tmit.eu>
Wed, 10 Oct 2012 21:37:15 +0000 (23:37 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Wed, 10 Oct 2012 21:37:15 +0000 (23:37 +0200)
autotest.sh

index a42c6ab059e4dd479de42c72f742a6903030670a..54f1eda9932ef6f69ddfdf1305f0361da516b375 100755 (executable)
@@ -86,7 +86,8 @@ function execute_tests {
        #test execution
        echo "Testing with $1 ..."
        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
 }
 
 #