Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (31 sloc) 0.668 kb
TESTS = test/unit/*.js
REPORTER = list
mocha.js:
@node support/compile | cat support/head.js - support/foot.js > $@
test: test-unit
test-all: test-bdd test-tdd test-exports test-unit
test-unit:
@./bin/mocha \
--require should \
--reporter $(REPORTER) \
--ui bdd \
$(TESTS)
test-bdd:
@./bin/mocha \
--require should \
--reporter $(REPORTER) \
--ui bdd \
test/bdd.js
test-tdd:
@./bin/mocha \
--require should \
--reporter $(REPORTER) \
--ui tdd \
test/tdd.js
test-exports:
@./bin/mocha \
--require should \
--reporter $(REPORTER) \
--ui exports \
test/exports.js
.PHONY: test test-all test-bdd test-tdd test-exports test-unit
Jump to Line
Something went wrong with that request. Please try again.