Web App Testing Using Knockout.JS

Roberto Messora

  • 出版商: Packt Publishing
  • 出版日期: 2014-11-16
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 154
  • 裝訂: Paperback
  • ISBN: 1783982845
  • ISBN-13: 9781783982844
  • 下單後立即進貨 (約3~4週)

商品描述

Design, implement, and maintain a fully tested JavaScript web application using Knockout.JS

About This Book

  • Test JavaScript web applications using one of the most known unit testing libraries—Jasmine.js
  • Leverage the two way bindings and dependency tracking mechanism to test web applications using Knockout.js
  • The book covers different JavaScript application testing strategies supported by real-world examples

Who This Book Is For

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.

What You Will Learn

  • Introduce and use Knockout.JS in a JavaScript web application as a presentation framework
  • Design a JavaScript web application using the well-known Model-View-ViewModel presentation pattern
  • Set up a simple testing environment with Jasmine
  • Unit test a JavaScript web application using the Behavior Driven Development approach
  • Adopt the correct development strategies to obtain the best results in terms of unit testing
  • Install and set up an automated testing environment using Node.JS and Karma
  • Execute unit testing and code coverage on development and minified production code

In Detail

As modern web applications grow in complexity and features, developers need tools and frameworks to deliver and maintain solutions with high quality standards. Knockout.JS is an emerging JavaScript presentation framework that promotes a solid solution design in combination with Jasmine, a well-known unit testing library. They both ensure rapid development and maintainability over time, and modification of requirements, reducing errors and addressing expected functionalities.

This book is a great starting point to meet all the most important concepts and frameworks involved in modern web application production. Every chapter sequentially introduces a library or a tool as a specific building block of the entire environment, proposing concrete examples and development considerations. By the end of this book, you will have a solid direction to follow when developing a web application, and you will also collect new hints and ideas to improve the delivery process of web applications.