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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset