What We’ve Learned So Far

Good stuff! That was a big chapter with a lot going on. But you made it.

Key things to remember in this chapter are:

  • We can unit test what goes on in the browser.
  • UI tests don’t always need to go end-to-end.
  • JavaScript is not a static typed language—so you gotta watch for typos around the keyboard.

We just scratched the surface of this important topic. If you’d like to learn more, be sure to read other books on JavaScript testing like Test-Driving JavaScript Applications [Sub16] by Venkat Subramaniam.

Now that you’ve seen each level of the pyramid, it’s time to bring it all together. In the next chapter, we are going to see how all the tests work in concert with each other, and see how they can all be used when 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.