更新时间:2021-08-05 17:25:05
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Web Application Testing in the Modern Web
Software testing
Escaping from the jQuery-style development
The modern Web
Presentation design patterns
Summary
Chapter 2. The Knockout.JS UI Framework Explained
Hello Knockout.JS
Automatic synchronization between View and ViewModel
The ViewModel in detail
Data-binding in detail
Chapter 3. The Jasmine Unit Testing Framework Explained
Unit testing style
Hello Jasmine
Suites and specifications
Setup and teardown
Expectations and matchers
Spies
Testing asynchronous code
Chapter 4. Unit Testing Strategies
My Todo sample application
The solution structure
Idiomatic JavaScript patterns
MVVM and unit testing
The My Todo web application
Unit testing
Chapter 5. Setting Up an Effective Testing Environment
The NodeJS ecosystem
Task automation with GulpJS
Unit testing automation with Karma (in GulpJS)
User interface testing with PhantomJS