万本电子书0元读

万本电子书0元读

顶部广告

Web App Testing Using Knockout.JS电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Roberto Messora

出  版  社:Packt Publishing

出版时间:2014-11-17

字       数:65.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

Web App Testing Using Knockout.JS

Web App Testing Using Knockout.JS

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Web Application Testing in the Modern Web

Software testing

The modern Web

Escaping from the jQuery-style development

Presentation design patterns

Summary

2. The Knockout.JS UI Framework Explained

Hello Knockout.JS

Automatic synchronization between View and ViewModel

The ViewModel in detail

Observables

Computed observables

Observable arrays

Data-binding in detail

The data-binding syntax

Text and appearance bindings

Conditional and loop bindings

HTML templating

The binding context

Virtual bindings

Form controls bindings

Custom bindings

Summary

3. The Jasmine Unit Testing Framework Explained

Unit testing style

Hello Jasmine

Suites and specifications

Suites

Specifications

Setup and teardown

Expectations and matchers

Spies

Spy initialization options

Spy tracking properties

An alternative spy initialization API

Testing asynchronous code

Summary

4. Unit Testing Strategies

My Todo sample application

The solution structure

Idiomatic JavaScript patterns

Constructor functions

The module pattern

MVVM and unit testing

Effective separation between the View and ViewModel

The My Todo web application

The new to-do item form

The event bus

Managing services and third-party libraries

The to-do item list

The main page View

Unit testing

Integration testing

Use case testing

Summary

5. Setting Up an Effective Testing Environment

The NodeJS ecosystem

Task automation with GulpJS

JSLint and unit testing

The build system installation

The build system configuration

Unit testing automation with Karma (in GulpJS)

The testing environment installation

The testing environment configuration

Code coverage

User interface testing with PhantomJS

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部