Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.47 kb
MOCHA=./node_modules/.bin/mocha
REPORTER=spec
TEST_FILES=test/*.js
test:
@${MOCHA} -r test/index --reporter $(REPORTER) $(TEST_FILES)
test-watch:
@${MOCHA} -r test/index --reporter $(REPORTER) $(TEST_FILES) --watch
test-coverage: generate-coverage-report
@AUTH_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
@rm -fR lib-cov
generate-coverage-report:
@rm -fR lib-cov
@jscoverage lib lib-cov
.PHONY: test test-watch test-coverage generate-coverage-report
Jump to Line
Something went wrong with that request. Please try again.