官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 新营市| 清新县| 无为县| 金秀| 阿勒泰市| 霍林郭勒市| 保山市| 克拉玛依市| 安平县| 嵩明县| 台江县| 东方市| 利辛县| 昌都县| 廉江市| 南丹县| 桐乡市| 易门县| 乾安县| 泾源县| 东明县| 庆城县| 桓台县| 南阳市| 印江| 邹平县| 易门县| 赤峰市| 伊川县| 屯门区| 江城| 克拉玛依市| 普兰店市| 瑞昌市| 隆回县| 萨迦县| 黑河市| 佳木斯市| 青川县| 惠来县| 枣庄市|