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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.