From 1127498546cd65eec1aaae781335ed65dc3864dc Mon Sep 17 00:00:00 2001 From: "Elf M. Sternberg" Date: Wed, 17 Jun 2015 13:46:22 -0700 Subject: [PATCH] Added jenkins-style reporatge. --- Makefile | 4 +++- package.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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"