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.