-
Book Overview & Buying
-
Table Of Contents
WEB APP TESTING USING KNOCKOUT.JS
By :
Web application testing is a complex topic because there are several types of testing from unit testing to integration testing, through several other categorizations that can be involved in a complete test strategy.
The question is where do we start? I think the best answer to this question is from the house foundations, where anything strong and solid should start. The main objective of this book is to explain web application testing using a JavaScript library that implements a well-known presentation design pattern (Model-View-ViewModel). In this scenario, the core of a testing strategy is definitely unit testing.
In this chapter, we will introduce Jasmine, a unit testing JavaScript library that uses a Behavior Driven Development (BDD) style to examine the various units and modules of the source code. In particular, we will use Version 2.0.
You will learn:
Change the font size
Change margin width
Change background colour