Backbone.js Testing
Ryan Roemer
- 出版商: Packt Publishing
- 出版日期: 2013-07-15
- 售價: $1,700
- 貴賓價: 9.5 折 $1,615
- 語言: 英文
- 頁數: 168
- 裝訂: Paperback
- ISBN: 178216524X
- ISBN-13: 9781782165248
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$199Java and XML (Paperback)
-
$301OpenCL 異構並行程式設計實戰
-
$2,040$1,938 -
$454JavaScript程序設計
-
$948$901 -
$332自己動手寫 Docker
-
$458直擊招聘 : 程序員面試筆試數據結構深度解析
-
$403深入 RabbitMQ
-
$454Hyperledger Fabric 源代碼分析與深入解讀
-
$450$405 -
$450$355 -
$658Hyperledger Fabric技術內幕:架構設計與實現原理
-
$352Hyperledger Fabric 菜鳥進階攻略
-
$454HyperledgerFabric 核心技術
-
$301cURL 必知必會
-
$305Spring Boot 微服務實戰:使用 RabbitMQ、Eureka、Ribbon、Zuul 和 Cucumber 開發 RESTful 服務
-
$403基於數據科學的惡意軟件分析
-
$254超級帳本 HyperLedger Fabric 區塊鏈開發實戰
-
$1,080$853 -
$654$621 -
$719$683 -
$654$621 -
$539$512 -
$894$849 -
$594$564
商品描述
If you dread the business of testing JavaScript and Backbone.js web applications, this book is your guardian angel. In easy stages and lots of examples it takes you through the whole testing situation, introducing you to best practice and current techniques.
Overview
- Create comprehensive test infrastructures
- Understand and utilize modern frontend testing techniques and libraries
- Use mocks, spies, and fakes to effortlessly test and observe complex Backbone.js application behavior
- Automate tests to run from the command line, shell, or practically anywhere
In Detail
Frontend web applications are soaring in popularity and the Backbone.js library is leading this charge with a modular, lightweight approach for organizing JavaScript web applications. At the same time, testing client-side JavaScript and Backbone.js programs remains a difficult and tedious undertaking.
Backbone.js Testing brings sensible practices and current techniques to the challenges of Backbone.js test development. The book introduces fundamental testing concepts, comprehensive test infrastructure design, and practical exercises to easily and systematically test modern JavaScript web applications.
The book progresses from Mocha test suites and Chai assertions to advanced test mocks and stubs with Sinon.JS. The requisite libraries and utilities are introduced with in-depth examples and best practices for integration with your applications. The book guides you through the test planning and implementation processes for your application models, views, routers, and other Backbone.js components.
Backbone.js Testing gives you the tools, examples, and assistance to test your Backbone.js web applications thoroughly, quickly, and with confidence.
What you will learn from this book
- Install and set up a test infrastructure for Backbone applications
- Run, examine, and understand Mocha test reports
- Tour the Chai assertion library API with detailed examples
- Write test suites and specs with the Mocha test framework
- Fake application behavior in tests using Sinon.JS mocks, spies, and fake servers
Approach
This book is packed with step-by-step tutorials and instructions in recipe format to help you create test infrastructures and gradually advance your Backbone.js application development and testing skills.
Who this book is written for
If you are a JavaScript developer looking to create and implement test support for your Backbone.js applications, then this book is ideal for you.