I am writing an application with an expression.
The main file is called server.js
one of the objects
var app = express.createServer(express.logger(),
express.bodyDecoder());
then i have
app.get("/",function(req, res){
res.send("Running");
}
How to use expresso, [or any other testing framework for this stuff] to check the route output?
I looked at the express website, but could not understand how to get it so that everyone would work together, is it possible if someone gave me a short example?
Thank!
source
share