Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

setting up `make test`

Tj Holowaychuk09ed2c6f9dc0
diff --git a/Makefile b/Makefile
index 36a3ed7d..f5c5d188 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
+TESTS = test/*.js
+
test:
- @echo "populate me"
+ @./bin/mocha \
+ --require should \
+ --reporter list \
+ --ui bdd \
+ $(TESTS)
.PHONY: test
\ No newline at end of file
diff --git a/package.json b/package.json
index eef18461..51d4863e 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
, "description": "Test framework inspired by JSpec, Expresso, Vows, & Qunit"
, "keywords": []
, "devDependencies": {
- "commander": "0.1.0"
+ "should": "0.3.1"
}
, "bin": { "mocha": "./bin/mocha" }
, "author": "TJ Holowaychuk <[email protected]>"