Web App Testing Using Knockout.JS
暫譯: 使用 Knockout.JS 進行網頁應用程式測試
Roberto Messora
- 出版商: Packt Publishing
- 出版日期: 2014-11-16
- 售價: $1,450
- 貴賓價: 9.5 折 $1,378
- 語言: 英文
- 頁數: 154
- 裝訂: Paperback
- ISBN: 1783982845
- ISBN-13: 9781783982844
海外代購書籍(需單獨結帳)
相關主題
商品描述
About This Book
- Test JavaScript web applications using one of the most known unit testing libraries—Jasmine.js
- Leverage the two way bindings and dependency tracking mechanism to test web applications using Knockout.js
- The book covers different JavaScript application testing strategies supported by real-world examples
Who This Book Is For
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.
What You Will Learn
- Introduce and use Knockout.JS in a JavaScript web application as a presentation framework
- Design a JavaScript web application using the well-known Model-View-ViewModel presentation pattern
- Set up a simple testing environment with Jasmine
- Unit test a JavaScript web application using the Behavior Driven Development approach
- Adopt the correct development strategies to obtain the best results in terms of unit testing
- Install and set up an automated testing environment using Node.JS and Karma
- Execute unit testing and code coverage on development and minified production code
In Detail
As modern web applications grow in complexity and features, developers need tools and frameworks to deliver and maintain solutions with high quality standards. Knockout.JS is an emerging JavaScript presentation framework that promotes a solid solution design in combination with Jasmine, a well-known unit testing library. They both ensure rapid development and maintainability over time, and modification of requirements, reducing errors and addressing expected functionalities.
This book is a great starting point to meet all the most important concepts and frameworks involved in modern web application production. Every chapter sequentially introduces a library or a tool as a specific building block of the entire environment, proposing concrete examples and development considerations. By the end of this book, you will have a solid direction to follow when developing a web application, and you will also collect new hints and ideas to improve the delivery process of web applications.
商品描述(中文翻譯)
**設計、實作並維護一個經過全面測試的 JavaScript 網頁應用程式,使用 Knockout.JS**
## 本書介紹
- 使用最知名的單元測試庫之一—Jasmine.js 來測試 JavaScript 網頁應用程式
- 利用雙向綁定和依賴追蹤機制來測試使用 Knockout.js 的網頁應用程式
- 本書涵蓋不同的 JavaScript 應用程式測試策略,並提供實際案例
## 本書適合誰
如果您是 JavaScript 開發者,無論是初學者還是專家,想要在解決方案設計和功能驗證方面提高質量標準,本書適合您。需要對網頁開發、HTML 和 JavaScript 有基本的了解。
## 您將學到什麼
- 在 JavaScript 網頁應用程式中介紹並使用 Knockout.JS 作為展示框架
- 使用知名的模型-視圖-視圖模型(Model-View-ViewModel)展示模式設計 JavaScript 網頁應用程式
- 設置一個簡單的測試環境,使用 Jasmine
- 使用行為驅動開發(Behavior Driven Development)方法對 JavaScript 網頁應用程式進行單元測試
- 採用正確的開發策略,以獲得最佳的單元測試結果
- 使用 Node.JS 和 Karma 安裝並設置自動化測試環境
- 在開發和壓縮的生產代碼上執行單元測試和代碼覆蓋率測試
## 詳細內容
隨著現代網頁應用程式在複雜性和功能上的增長,開發者需要工具和框架來提供和維護高質量標準的解決方案。Knockout.JS 是一個新興的 JavaScript 展示框架,促進了與知名單元測試庫 Jasmine 的穩固解決方案設計。它們都確保了快速開發和長期的可維護性,並能夠應對需求的變更,減少錯誤並滿足預期功能。
本書是了解現代網頁應用程式生產中所有重要概念和框架的絕佳起點。每一章依序介紹一個庫或工具,作為整個環境的特定構建塊,並提出具體的範例和開發考量。到本書結束時,您將擁有一個堅實的方向來開發網頁應用程式,並收集到改善網頁應用程式交付過程的新提示和想法。