Book Image

WEB APP TESTING USING KNOCKOUT.JS

By : Roberto Messora
Book Image

WEB APP TESTING USING KNOCKOUT.JS

By: Roberto Messora

Overview of this book

Table of Contents (11 chapters)

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...