test-server 
Easy testing of a HTTP server
Example
var testServer = require("test-server")
, assert = require("assert")
testServer(function (req, res) {
res.end("beep")
}, function (request, done) {
request("/", function (err, res, body) {
assert.equal(body, "beep")
done()
})
})
Installation
npm install test-server
Tests
make test
Contributors
- Raynos