Taking the fresh module workspace which we created in the previous video, we review the goals for the project, adjust the API in the README, and add some developer dependencies using npm so we are ready to begin our test driven development process.

Goals

  • Review project goals
  • Cleanup example
  • Install mocha and chai, commit
  • Install hapi

Video Info

  • Episode: CW V002
  • Skill level: Beginner with basic Node.js skills
  • Prerequisites:
    • Basic Node.js & npm
    • Basic Git
  • Published: May 6th, 2014
  • Tags: js, nodejs,git,hapi,plugin,free
  • Duration: 4:49
  • Node.js version: 0.10.25
  • Git version: 1.8.2.1

Notes

  • We will use a test driven development approach to building our plugin
  • Test runner will be mocha
  • Assertion library will be chaijs

In the next video

  • Create our first plugin test
  • Implement plugin registration

Continue to the next video V003