node-api-testing-example
node-api-testing-example copied to clipboard
This is an example of a node.js api testing stack similar to one that I implemented on a client project.
node.js API Testing Example
This is an example of a testing stack for a node.js api. The stack I've put together here includes Mocha, Chai, and SuperTest. Use these tests for reference when you are setting this stack up in your node project.
Please see my complete blog post here: http://developmentnow.com/2015/02/05/make-your-node-js-api-bulletproof-how-to-test-with-mocha-chai-and-supertest/
I'm a developer at DevelopmentNow in Portland, OR. Check us out!