Wrapping Up

There’s value in both manual testing and automated verification. Testing can give us a great deal of insight. Without automated verification, it’s impossible to sustain the pace of development. Any nontrivial application requires automated tests at the right level. It takes time, effort, and discipline to automate tests, but it’s a skill that we should invest in. Write tests before writing code. If that proves to be difficult, learn from active spiking.

As you’ve seen in this chapter, automated testing is very crucial. In the next part we’ll dive into some fundamental techniques for automated testing of both client-side and server-side code.

Get Test-Driving JavaScript Applications 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.