Chapter 7Unit Testing in the Browser with JavaScript

images/js/intro.png

JavaScript plays a big role in the web today, and in this chapter you are going to see why. By learning how to write tests in JavaScript, not only will you gain the ability to test what’s going on in your browser, you’ll be able to do it in a way that’s fast, enabling you to write as many UI tests as you want.

Developers, this will be a good chapter for those of you who write a lot of JavaScript and are looking for ideas around how to test. Testers, you better come along too, as you never know when you may have to get in there and start writing some JavaScript for certain automated testing ...

Get The Way of the Web Tester 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.