Skip to content

armgit / mocha

Public Imported from GitHub
0

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

more tests

TJ Holowaychukca7455edc5a1
diff --git a/Makefile b/Makefile
index 1ef4b262..8c08136e 100644
--- a/Makefile
+++ b/Makefile
@@ -51,11 +51,25 @@ test-grep:
non-tty:
@./bin/mocha \
--reporter dot \
- test/interfaces/bdd > /tmp/dot.out
+ test/interfaces/bdd 2>&1 > /tmp/dot.out
@echo dot:
@cat /tmp/dot.out
+ @./bin/mocha \
+ --reporter list \
+ test/interfaces/bdd 2>&1 > /tmp/list.out
+
+ @echo list:
+ @cat /tmp/list.out
+
+ @./bin/mocha \
+ --reporter spec \
+ test/interfaces/bdd 2>&1 > /tmp/spec.out
+
+ @echo spec:
+ @cat /tmp/spec.out
+
watch:
watch --interval=1 $(MAKE) mocha.js