From bc4fcf17dc17e283773f17c33eed67f024e1499a Mon Sep 17 00:00:00 2001 From: dead_horse Date: Fri, 7 Mar 2014 01:07:35 +0800 Subject: [PATCH] add make test-dev, fixed #259 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 5e4fef787..767dc8886 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,15 @@ test: $(TESTS) @-$(MAKE) check-coverage +test-dev: install + @NODE_ENV=test ./node_modules/mocha/bin/mocha \ + --harmony-generators \ + --reporter $(REPORTER) \ + --timeout $(TIMEOUT) \ + --require should \ + $(MOCHA_OPTS) \ + $(TESTS) + check-coverage: @./node_modules/.bin/istanbul check-coverage \ --statements 100 \