CHAPTER 10

image

Improving Testability

For every complex problem there is a solution that is simple, neat, and wrong.

—H. L. Mencken

It may be impossible to completely cover JavaScript testing in a book, let alone a single chapter. When done correctly, testing should be a mentally engrossing challenge, one that offers a compelling mix of creative and technical hurdles to overcome. Many of the brightest minds in computer science have applied themselves toward the creation of tools, methodologies, and patterns that enable testers to improve the quality and reliability of the programs under their care. Therefore, leaving testing out of this book would ...

Get Expert JavaScript 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.