https://github.com/visionmedia/supertest is another alternated specific to testing http vs using request/superagent "raw" which gets a bit redundant
On Jan 22, 2:55 pm, John Rellis <[email protected]> wrote: > Hey Folks, > > New to nodejs so apologies if I offend anyone :) > > Out of the gate, I am hoping to write a bunch of tests to test an external > REST API. This API is not written by me, I just have access to the > endpoints. > > I would like to write these tests in nodejs and launch them as a test suite > and see how many passed/failed etc. > > Each test would access the API and assert the data and the response > received are as we would expect. > > Any suggestions on how I should approach this?? > > Many thanks, > John -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
