Yeah mocha + request are great for this kind of stuff. Sent from my iPhone
On Jan 22, 2013, at 4:55 PM, Boris Egorov <[email protected]> wrote: > You can pick `mocha` (http://visionmedia.github.com/mocha/) or `vows` > (http://vowsjs.org/) to write your tests and mikeal's `request` > (https://github.com/mikeal/request) to perform actual http requests to your > API. > > May be there are more specific tools for your problem, but you definitely can > solve your problem using modules I've mentioned. > > --------- > Boris Egorov > skype/gtalk/nickname: dolphin278 > mobile: +7 905 728 1543 > > > On Wed, Jan 23, 2013 at 2:55 AM, 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 > > -- > 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 -- 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
