O'Reilly logo

Web App Testing Using Knockout.JS by Roberto Messora

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Unit testing

In the previous sections, we made many important considerations about solution architecture and structure, and code implementation using design principles and patterns, keeping in mind the web application testing. Now it's time to verify how we can test our application written in this way.

In the following section, we will present a couple of examples related to the My Todo application, which are meaningful in our context. They show why we decided to follow some specific design directives.

Integration testing

External libraries encapsulation is a perfect strategy to test an application service behavior. The objective of integration testing is to verify that our class behaves correctly using the underlying third-party library.

We don't ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required