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 learned how testing can become so much easier once you drive the application development by tests. You saw how to use the module pattern to better organize the project code and how the View pattern can help create a more maintainable browser code.

You learned how to use HTML fixtures, making your specs much more readable and understandable. I also showed you how to test code that interacts with the browser's DOM by the use of custom jQuery matchers.

In the next chapter, we will go a step further and start testing server integration and asynchronous code.