O'Reilly logo

Deploying Node.js by Sandro Pasquali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required