Chapter 10. Testing and Debugging JavaScript

In every software life cycle, testing and debugging play an important role. Thorough testing makes software flawless and good debugging techniques makes it easy to not only troubleshoot problems, but also helps to identify and fix any problems by reaching out to the exact point.

Testing is the core essence of creating any robust application. However, there are different practices and frameworks used by the application to serve particular objective, and the architecture varies as per the nature of the application. Therefore, sometimes it becomes difficult for a developer to test client-side code, for example, if an application contains some JavaScript code on a page itself, such as inline event handlers, ...

Get JavaScript for .NET Developers 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.