Initial check in of testing scripts.

This commit is contained in:
Arthur Britto
2012-09-15 14:37:21 -07:00
parent cc467bf1d3
commit b8f2b6c0dc
5 changed files with 192 additions and 1 deletions

17
test/standalone-test.js Normal file
View File

@@ -0,0 +1,17 @@
// console.log("standalone-test.js>");
var fs = require("fs");
var buster = require("buster");
var server = require("./server.js");
buster.testCase("Check standalone server startup", {
"Start": function (done) {
server.start("alpha", function(e) {
buster.refute(e);
done();
});
}
});
// console.log("standalone-test.js<");