Back to JUnit.

This commit is contained in:
Elf M. Sternberg 2015-06-17 13:55:58 -07:00
parent 8c9f6622d4
commit a5e4558df9
1 changed files with 6 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# docs: $(patsubst %.md,%.html,$(wildcard *.md)) # docs: $(patsubst %.md,%.html,$(wildcard *.md))
targets = lists.js reduce.js
all: $(targets) all: $(targets)
@ -18,8 +18,10 @@ node_modules: package.json
mkdir -p node_modules mkdir -p node_modules
npm install npm install
test: node_modules test: clean node_modules
@./node_modules/.bin/mocha --recursive -R xunit test/ > test-reports.xml @JUNIT_REPORT_PATH=test-reports.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 report.xml test-reports.xml