Summary

Both testing and debugging phases are essential to developing robust JavaScript code. TDD and BDD are approaches closely associated with the agile methodology and is widely embraced by the JavaScript developer community. In this chapter, we reviewed best practices around TDD and the usage of Jasmine as the testing framework. Additionally, we saw various methods of debugging JavaScript using Chrome Developer Tools.

In the next chapter, we will explore the new and exciting world of ES6, DOM Manipulation and cross-browser strategies.

Get Object-Oriented JavaScript - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.