Added jenkins-style reporatge.

This commit is contained in:
Elf M. Sternberg 2015-06-17 13:46:22 -07:00
parent 3238844835
commit 1127498546
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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"