- Web App Testing Using Knockout.JS
- Roberto Messora
- 301字
- 2021-08-05 17:24:56
What this book covers
Chapter 1, Web Application Testing in the Modern Web, is an introduction to modern web development, showing how important the testing of increasingly complex applications is. In particular, it shows how the classic client-side development based on jQuery is no longer the best solution when unit testing becomes one of the pillars of the implementation strategy. Also, it suggests that a new design approach is needed, based on a JavaScript MV presentation design pattern.
Chapter 2, The Knockout.JS UI Framework Explained, covers the most important features of Knockout.JS, which is the most well-known JavaScript presentation pattern based on Model-View-ViewModel. It also shows how to effectively use this library in a web application and why this is a good choice in terms of unit testing and application design.
Chapter 3, The Jasmine Unit Testing Framework Explained, covers the most important features of Jasmine, a very well-known JavaScript unit testing framework, based on the Behavior Driven Development approach.
Chapter 4, Unit Testing Strategies, is the core chapter of the book. It shows how to strategically deal with the development of a JavaScript web application when unit testing plays a major role. It suggests some important design principles and approaches when developing a sample web application that uses Knockout.JS as the presentation framework and Jasmine for unit testing.
Chapter 5, Setting Up an Effective Testing Environment, shows how to set up an automated testing environment based on Gulp.JS and Karma; the first is a Node.JS module that acts as a task automation system, and the second is a test runner system. It covers the steps needed to install, configure, and execute all of the system components, including unit testing reports and code coverage. It also shows how to directly test the user interface using Phantom.JS and its page automation capabilities.
- 算法零基礎一本通(Python版)
- C#編程入門指南(上下冊)
- Programming ArcGIS 10.1 with Python Cookbook
- Java從入門到精通(第4版)
- Object-Oriented JavaScript(Second Edition)
- Node.js Design Patterns
- Microsoft Azure Storage Essentials
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰
- 打開Go語言之門:入門、實戰與進階
- 機器學習微積分一本通(Python版)
- uni-app跨平臺開發與應用從入門到實踐
- 分布式數據庫原理、架構與實踐
- 遠方:兩位持續創業者的點滴思考
- Learning Grunt
- 軟件測試技術