I’m writing an app with express.
The main file is called server.js
one of the objects is
var app = express.createServer(express.logger(),
express.bodyDecoder());
then I have
app.get("/",function(req, res){
res.send("Running");
}
How do I use expresso, [or any other testing framework for that
matter], to test the routes output?
I looked at the expresso site, but couldn’t figure out how to get it
to all work together, is it possible if someone gave me a short
example?
Thanks!
I’m sure you have found the answer to this by now but have you tried something like this: