Book Image

Jasmine JavaScript Testing Update

By : Paulo Vitor Zacharias Ragonha
Book Image

Jasmine JavaScript Testing Update

By: Paulo Vitor Zacharias Ragonha

Overview of this book

Table of Contents (15 chapters)

Summary


In this chapter, you have seen how to test asynchronous code, a scenario common when testing server interactions (AJAX).

I have also presented you with the Node.js platform and used it to code a simple server to be used as a test fixture.

In Chapter 6, Light Speed Unit Testing, we are going to see different solutions to AJAX testing—solutions that don't require a server running.

In the next chapter, we are going to learn about spies and how we can use them to perform behavior checking.