The study of JSON drives us toward various developmental phases. In this chapter, we learned about unit testing and automation. We used gulp.js, which proved to be an incredible task runner tool. We learned about two important concepts of unit testing: BDD testing using the node.js assertion library; and mocha.js, the TDD framework for JavaScript apps.
It is highly recommended to unit test as much as we can. This reduces bugs to a great extent and provides maintainability of code over time. As the saying goes:
"If you don't like unit testing your product, most likely your customers won't like to test it either."
...