Summary

In this chapter, you learned how to think in BDD and drive your code from your specs. You also became acquainted with the basic Jasmine global functions (describe, it, beforeEach, and afterEach) and have a good understanding of what is required to create a spec in Jasmine.

You got familiar with Jasmine matchers and know how powerful they are in describing a spec intent. You even learned to create a matcher of your own.

By now, you should be familiar with creating new specs and driving the development of your new application.

In the next chapter, we are going to take a look at how we can use the concepts learned in this chapter to start testing web applications, which are most commonly jQuery and HTML forms.

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

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