Permalink
Browse files

Test runner

  • Loading branch information...
1 parent 9060c91 commit 1707ebbd180856e6ed44e80c46b02557e2425762 @felixge felixge committed May 28, 2011
Showing with 15 additions and 0 deletions.
  1. +7 −0 Makefile
  2. +1 −0 package.json
  3. +7 −0 test/run.js
View
7 Makefile
@@ -0,0 +1,7 @@
+SHELL := /bin/bash
+
+test:
+ @./test/run.js
+
+.PHONY: test
+
View
1 package.json
@@ -17,6 +17,7 @@
},
"devDependencies": {
'fake': '0.2.1',
+ 'far': '0.0.1',
'formidable': '1.0.2'
}
}
View
7 test/run.js
@@ -0,0 +1,7 @@
+#!/usr/bin/env node
+var far = require('far').create();
+
+far.add(__dirname);
+far.include(/test-.*\.js$/);
+
+far.execute();

0 comments on commit 1707ebb

Please sign in to comment.