Added jenkins-style reporatge.
This commit is contained in:
parent
3238844835
commit
1127498546
4
Makefile
4
Makefile
|
@ -19,7 +19,9 @@ node_modules: package.json
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
test: node_modules
|
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:
|
clean:
|
||||||
rm -f $(targets)
|
rm -f $(targets)
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^2.0.0",
|
"chai": "^2.0.0",
|
||||||
"mocha": "^2.1.0"
|
"mocha": "^2.1.0"
|
||||||
|
"mocha-jenkins-reporter": "^0.1.7"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
|
Loading…
Reference in New Issue