Summary

In this chapter, you have seen how to test asynchronous code, a scenario common when testing server interactions (AJAX). I have showed you how to use the different Jasmine global functions such as waitsFor() and runs to test asynchronous code.

I have also presented you 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.

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

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