mocha.opts
This commit is contained in:
parent
85ea5f67f4
commit
dd7af29103
2
.gitignore
vendored
2
.gitignore
vendored
@ -12,3 +12,5 @@ benchmarks/graphs
|
||||
testing
|
||||
node_modules/
|
||||
testing
|
||||
.coverage_data
|
||||
cover_html
|
||||
|
13
Makefile
13
Makefile
@ -1,21 +1,16 @@
|
||||
|
||||
DOCS = docs/*.md
|
||||
HTMLDOCS = $(DOCS:.md=.html)
|
||||
TESTS = test/*.js
|
||||
REPORTER = dot
|
||||
|
||||
test:
|
||||
@NODE_ENV=test ./node_modules/.bin/mocha \
|
||||
--require should \
|
||||
--reporter $(REPORTER) \
|
||||
--slow 20 \
|
||||
--growl \
|
||||
$(TESTS)
|
||||
--reporter $(REPORTER)
|
||||
|
||||
test-acceptance:
|
||||
@$(MAKE) test \
|
||||
TESTS=test/acceptance/*.js \
|
||||
REPORTER=spec
|
||||
@NODE_ENV=test ./node_modules/.bin/mocha \
|
||||
--reporter spec \
|
||||
test/acceptance/*.js
|
||||
|
||||
docs: $(HTMLDOCS)
|
||||
@ echo "... generating TOC"
|
||||
|
3
test/mocha.opts
Normal file
3
test/mocha.opts
Normal file
@ -0,0 +1,3 @@
|
||||
--require should
|
||||
--slow 20
|
||||
--growl
|
Loading…
Reference in New Issue
Block a user