Back to JUnit.
This commit is contained in:
parent
8c9f6622d4
commit
a5e4558df9
10
Makefile
10
Makefile
|
@ -2,7 +2,7 @@
|
|||
|
||||
# docs: $(patsubst %.md,%.html,$(wildcard *.md))
|
||||
|
||||
targets = lists.js reduce.js
|
||||
|
||||
|
||||
all: $(targets)
|
||||
|
||||
|
@ -18,8 +18,10 @@ node_modules: package.json
|
|||
mkdir -p node_modules
|
||||
npm install
|
||||
|
||||
test: node_modules
|
||||
@./node_modules/.bin/mocha --recursive -R xunit test/ > test-reports.xml
|
||||
test: clean node_modules
|
||||
@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:
|
||||
rm -f $(targets)
|
||||
rm -f report.xml test-reports.xml
|
||||
|
|
Loading…
Reference in New Issue