diff --git a/Makefile b/Makefile index ca219ff..e2ebfbb 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,9 @@ node_modules: package.json npm install test: node_modules - @node_modules/.bin/mocha --compilers coffee:coffee-script/register + @JUNIT_REPORT_PATH=report.xml JUNIT_REPORT_STACK=1 ./node_modules/.bin/mocha \ + --reporter mocha-jenkins-reporter --compilers coffee:coffee-script/register || true +# @node_modules/.bin/mocha clean: rm -f $(targets) diff --git a/package.json b/package.json index eb42dcc..3f89f2f 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "devDependencies": { "chai": "^2.0.0", "mocha": "^2.1.0" + "mocha-jenkins-reporter": "^0.1.7" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1"