Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WEB APP TESTING USING KNOCKOUT.JS
  • Table Of Contents Toc
WEB APP TESTING USING KNOCKOUT.JS

WEB APP TESTING USING KNOCKOUT.JS

By : Roberto Messora
5 (3)
close
close
WEB APP TESTING USING KNOCKOUT.JS

WEB APP TESTING USING KNOCKOUT.JS

5 (3)
By: Roberto Messora

Overview of this book

If you are a JavaScript developer, beginner, or an expert who wants to improve quality standards in terms of solutions design and functional verification, this book is for you. Basic understanding of web development, HTML, and JavaScript is required.
Table of Contents (6 chapters)
close
close

MVVM and unit testing


When we decide to use a presentation pattern as the most important pillar of a software solution, we are also establishing a specific direction to follow in developing the application.

We need to understand that if we decide to adopt Knockout.JS, it is because it grants us some important concrete advantages, not because we have to simply choose one of the many JavaScript frameworks out there.

In Chapter 2, The Knockout.JS UI Framework Explained, we talked about one of the advantages: a clear separation between the user interface and presentation logic. Why is this a real benefit? There are several possible answers, but if we want to remain in the unit testing context, we can apply proper unit testing specifications to the presentation logic, independent from the user interface.

In MVVM, the ViewModel is a pure-code representation of the View. The View itself is (must remain) a thin and simple layer, whose job is to present the data and receive the user interaction. This...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WEB APP TESTING USING KNOCKOUT.JS
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon