diff --git a/gruntfile.js b/gruntfile.js index 24de0678..f7ee8e6b 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -97,11 +97,6 @@ module.exports = function(grunt) { regExp: false } }, - shell: { - coverage: { - command: 'cd static/script-tests/jasmine; pwd; ./coverage.sh -p;' - } - }, jsdoc: { dist: { src: ['static/script/*/**.js'], @@ -125,7 +120,6 @@ module.exports = function(grunt) { grunt.registerTask('full', ['eslint', 'jasmine']); grunt.registerTask('default', 'full'); - grunt.registerTask('coverage', 'Produce a coverage report of the main source files', ['jasmine:src:build', 'shell:coverage']); grunt.registerTask('spec', ['jasmine:src:build', 'openspec']); grunt.registerTask('openspec', 'Open the generated Jasmine spec file', function() { diff --git a/static/script-tests/jasmine/coverage.sh b/static/script-tests/jasmine/coverage.sh deleted file mode 100755 index 74dbc2e0..00000000 --- a/static/script-tests/jasmine/coverage.sh +++ /dev/null @@ -1,16 +0,0 @@ -# Runs the java server for jscoverage, produces the report using phantomjs creates the lcov and then closes the server - -# Clear any currently running jscover server -PID=`ps aux | grep -i java | grep JSCover | awk '{print $2}'` -if [ ! -z "$PID" ]; then - kill -9 $PID -fi -# Set up the JSCover java server -java -Dfile.encoding=UTF-8 -jar jscover-1.0.13/JSCover-all.jar -ws --port=4466 --save-json-only --document-root=../../.. --report-dir=report --only-instrument-reg=.*static/script/.* & - -sleep 1 -open http://localhost:4466/jscoverage.html?/static/script-tests/jasmine/WebRunner.html - -if [[ ! $* == *-p* ]]; then - curl http://localhost:4466/stop -fi diff --git a/static/script-tests/jasmine/jscover-1.0.13/JSCover-all.jar b/static/script-tests/jasmine/jscover-1.0.13/JSCover-all.jar deleted file mode 100644 index 41e2f8ee..00000000 Binary files a/static/script-tests/jasmine/jscover-1.0.13/JSCover-all.jar and /dev/null differ diff --git a/static/script-tests/jasmine/jscover-1.0.13/JSCover.jar b/static/script-tests/jasmine/jscover-1.0.13/JSCover.jar deleted file mode 100644 index 305c401d..00000000 Binary files a/static/script-tests/jasmine/jscover-1.0.13/JSCover.jar and /dev/null differ