Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 33 lines (24 sloc) 0.77 kB
REPORTER = dot
test:
@#lib-cov
@NODE_ENV=test ./node_modules/.bin/mocha --recursive --reporter $(REPORTER) --ignore-leaks --timeout 3000
@#$(MAKE) rm-lib-cov
tests: test
lib-cov: rm-lib-cov
@jscoverage lib lib-cov
rm-lib-cov:
@rm -rf ./lib-cov/
test-cov: lib-cov
@$(MAKE) test TEST_COV=1 REPORTER=json-cov > coverage.json
@$(MAKE) rm-lib-cov
test-cov-html: lib-cov
@$(MAKE) test TEST_COV=1 REPORTER=html-cov > coverage.html
@$(MAKE) rm-lib-cov
tap: lib-cov
@NODE_ENV=test ./node_modules/.bin/mocha -R tap > results.tap
@$(MAKE) rm-lib-cov
unit:
@#lib-cov
@NODE_ENV=test ./node_modules/.bin/mocha --recursive -R xunit --ignore-leaks > results.xml --timeout 3000
@#$(MAKE) rm-lib-cov
.PHONY: test tap test-cov test-cov-html unit lib-cov rm-lib-cov
Jump to Line
Something went wrong with that request. Please try again.