I could really do with some advice on testing a RESTful api I created in node.js. There are a plethora of frameworks out there and I am at a loss. My testing knowledge isn’t good enough generally which is why I am trying to write these tests. I’ve tried vows.js which seems nice but I couldn’t work out how to incorporate the testing of my API, I need some sort of client. An example of a simple post to test a login system is all I need to get going.
Share
Update 6 months later
vows-is sucks. use mocha
Original
Updated with vow-is code
Here’s the vows-is example from the vows-is examples folder.
This uses vows-is.