Added per-test XML reports for Node tests on Jenkins

pull/3928/head
murgatroid99 9 years ago
parent def77a5235
commit a653e0fe7e
  1. 1
      package.json
  2. 2
      tools/run_tests/run_node.sh

@ -38,6 +38,7 @@
"jshint": "^2.5.0",
"minimist": "^1.1.0",
"mocha": "~1.21.0",
"mocha-jenkins-reporter": "^0.1.9",
"mustache": "^2.0.0"
},
"engines": {

@ -51,5 +51,5 @@ then
echo '<html><head><meta http-equiv="refresh" content="0;URL=lcov-report/index.html"></head></html>' > \
../reports/node_coverage/index.html
else
./node_modules/mocha/bin/mocha --timeout 8000 src/node/test
JUNIT_REPORT_PATH=src/node/reports.xml JUNIT_REPORT_STACK=1 ./node_modules/.bin/mocha --reporter mocha-jenkins-reporter src/node/test || true
fi

Loading…
Cancel
Save