Summary
In this chapter, we took a look at testing and building your application such that you can get a good sense of its ability to stand up in production. We worked through a representative build system that used Gulp and Browserify, along with some other tools, to show how a codebase can be optimized and packaged for deployment. Also, you learned about Node's native debugging tools and assertion library.
The Node community has embraced testing from the beginning, and many testing frameworks and native tools are made available to developers. You learned how to set up a proper test system using Gulp, Mocha, Chai, and Sinon, in the process experimenting with headless browser testing.
The next chapter will be focused on taking the builds you have tested and deploying them to production servers. You'll learn about setting up local development environments on virtual machines, provisioning remote servers, setting up continuous integration with webhooks and Jenkins, maintaining your application...