Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WEB APP TESTING USING KNOCKOUT.JS

You're reading from  WEB APP TESTING USING KNOCKOUT.JS

Product type Book
Published in Nov 2014
Publisher
ISBN-13 9781783982844
Pages 154 pages
Edition 1st Edition
Languages
Author (1):
ROBERTO MESSORA ROBERTO MESSORA
Author Profile Icon ROBERTO MESSORA
ROBERTO MESSORA
Toc

Summary


This chapter is a brief introduction to the Jasmine BBD test framework. It's not intended to be an exhaustive reference, but it gives a sufficient comprehension of how it works and how it can help a developer focus on the code behavior.

You learned about the fundamental Jasmine concepts. First of all, you learned how to set up a complete test project using the package downloaded from the project website. Then, we dug into the way the Jasmine API has been designed, and how to express our test in terms of suites, specifications, and expectations.

You also learned that we can create test doubles using spies, and we reviewed all the tracking capabilities that we can take advantage of.

Finally, we discovered how to test asynchronous code explaining how to solve the typical Ajax scenario.

In the next chapter, we will put the two main book topics together. We will try to explain how to test a Knockout.JS web application effectively using Jasmine, not only technically speaking, but also in the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime