Moroni Pickering
- Start with mocha site: http://visionmedia.github.io/mocha/
-
- review ./test/mocha123Test.js
- Synchronous vs. Async testing:
- compare ./test/utah-node-ninjasTest.js with ./test/mocha123Test.js
- Some options Moroni Pickering uses often: http://visionmedia.github.io/mocha/#usage
- grep: mocha -g
- run specific test file(s): mocha
- Walkthrough https://github.com/Utah-Node-Ninjas/unn-api/blob/develop/test/emailTest.js
- Assert - http://nodejs.org/api/assert.html
- Should - https://github.com/visionmedia/should.js/
- Supertest - https://github.com/visionmedia/supertest