February 2015
Intermediate to advanced
392 pages
8h 12m
English
Wow! This was a long chapter, but we covered a lot of ground. You learned the basics of Node and NPM, just enough to be able to set up a simple development environment for BDD. Node allows us to execute JavaScript from the command line, something that is essential to perform BDD. With NPM, we can initialize our project, manage its dependencies, and install tools and libraries, such as Mocha and Sinon.
We practiced the test-first cycle, Red/Green/Refactor, using Mocha and Chai. During your first contact with the test-first cycle, you learned not only how to use the tools and libraries but also some useful testing techniques:
Read now
Unlock full access