Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (14 sloc) 0.361 kB
05ecd0d @hakovala Help update
authored
1 REPORTER = spec
4e84ab3 @hakovala Changed test suite.. Again..
authored
2
3 test:
4 @NODE_ENV=test ./node_modules/.bin/mocha --reporter $(REPORTER)
5
93396ad @hakovala Testing updates
authored
6 test-w:
7 @NODE_ENV=test ./node_modules/.bin/mocha \
8 --reporter $(REPORTER) \
9 --watch
4e84ab3 @hakovala Changed test suite.. Again..
authored
10
93396ad @hakovala Testing updates
authored
11 test-cov:
349da11 @hakovala Added unit tests
authored
12 @rm -rf lib-cov
4e84ab3 @hakovala Changed test suite.. Again..
authored
13 @jscoverage lib lib-cov
93396ad @hakovala Testing updates
authored
14 @TEST_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
4e84ab3 @hakovala Changed test suite.. Again..
authored
15
349da11 @hakovala Added unit tests
authored
16 clean:
17 @rm -rf lib-cov coverage.html
18
19 .PHONY: test test-w clean
Something went wrong with that request. Please try again.