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 the core of the entire book. It gives an adequate outlook about unit testing, trying to focus on topics not necessarily related to tools and frameworks but to development strategies and conceptual considerations about how we can be successful.

You learned how to structure and organize your JavaScript solution in terms of folders and files. Then, you learned how to take advantage of JavaScript idiomatic patterns to write better code, which is also easier to test.

You also learned why MVVM is a good choice if you need to test a web application extensively, and how to practically use it in the correct way having a unit test as the main development target.

Finally, you learned the difference between integration and use case testing, and separately managing View/ViewModels from services and third-party libraries.

In the next chapter, we will take a step forward towards a complete application lifecycle management. We will set up a build system to achieve unit testing automation...

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