JavaScript Unit Testing
暫譯: JavaScript 單元測試
Hazem Saleh
- 出版商: Packt Publishing
- 出版日期: 2012-11-17
- 售價: $1,350
- 貴賓價: 9.5 折 $1,283
- 語言: 英文
- 頁數: 190
- 裝訂: Paperback
- ISBN: 1782160620
- ISBN-13: 9781782160625
-
相關分類:
JavaScript、軟體測試、Unit Test 單元測試
海外代購書籍(需單獨結帳)
相關主題
商品描述
This book covers the most popular modern JavaScript Unit testing frameworks and gives you a crash course in how to use and automate them. Lots of examples and practical instructions make learning easy and enjoyable.
Overview
- Learn and understand, using practical examples, synchronous and asynchronous JavaScript unit testing.
- Cover the most popular JavaScript Unit Testing Frameworks including Jasmine, YUITest, QUnit, and JsTestDriver.
- Automate and integrate your JavaScript Unit Testing for ease and efficiency.
In Detail
The largest challenge for many developers' day to day life is ensuring the support of, and assuring the reach of, their product. With the ever increasing number of mainstream web browsers this is becoming a more difficult task for JavaScript coders.
From the beginning, JavaScript Unit Testing will show you how to reduce the time you spend testing, and automate and ensure efficiency in guaranteeing your success.
JavaScript Unit Testing will introduce and help you master the art of efficiently performing and automating JavaScript Unit tests for your web applications.
Using the most popular JavaScript unit testing frameworks, you will develop, integrate, and automate all the tests you need to ensure the widest reach and success of your web application.
Covering the most popular JavaScript Unit testing frameworks of today, JavaScript Unit Testing is your bible to ensuring the functionality and success of all of your JavaScript and Ajax Web Applications.
Starting with Jasmine, you will also learn about, and use, YUITest, QUnit, and JsTestDriver, integrate them into your projects, and use them together to generate reports.
Learn to automate these tools, make them work for you, and include the power of these tools in your projects from day one.
What you will learn from this book
- Learn and use the power of Jasmine, YUITest, QUnit, and JsTestDriver.
- Learn by doing to synchronously and asynchronously test your JavaScript applications.
- Automate your JavaScript tests using both Build and Integration Management Tools.
- Generate test reports for your JavaScript tests.
- Customize JavaScript unit testing frameworks to include rich test expressions.
Approach
A practical, example-driven guide to using, automating, and integrating JavaScript Unit tests for the busy and conscientious JavaScript developer striving for excellence and success.
Who this book is written for
JavaScript Unit Testing is a must have guide for every web developer, designer, architect, and JavaScript coder seeking to ensure the highest quality of their web applications and JS code. Knowledge of JavaScript is assumed.
商品描述(中文翻譯)
這本書涵蓋了最受歡迎的現代 JavaScript 單元測試框架,並提供了如何使用和自動化它們的速成課程。大量的範例和實用的指導使學習變得簡單而愉快。
**概述**
- 使用實際範例學習和理解同步和非同步的 JavaScript 單元測試。
- 涵蓋最受歡迎的 JavaScript 單元測試框架,包括 Jasmine、YUITest、QUnit 和 JsTestDriver。
- 自動化和整合您的 JavaScript 單元測試,以提高便利性和效率。
**詳細內容**
對於許多開發者的日常生活來說,最大的挑戰是確保他們產品的支持和覆蓋範圍。隨著主流網頁瀏覽器數量的持續增加,這對 JavaScript 程式設計師來說變得越來越困難。
從一開始,JavaScript 單元測試將向您展示如何減少測試所花費的時間,自動化並確保效率,以保證您的成功。
JavaScript 單元測試將介紹並幫助您掌握高效執行和自動化 JavaScript 單元測試的藝術,適用於您的網頁應用程式。
使用最受歡迎的 JavaScript 單元測試框架,您將開發、整合並自動化所有測試,以確保您的網頁應用程式能夠達到最廣泛的覆蓋和成功。
涵蓋當今最受歡迎的 JavaScript 單元測試框架,JavaScript 單元測試是您確保所有 JavaScript 和 Ajax 網頁應用程式功能和成功的聖經。
從 Jasmine 開始,您還將學習和使用 YUITest、QUnit 和 JsTestDriver,將它們整合到您的專案中,並一起使用以生成報告。
學會自動化這些工具,讓它們為您工作,並從第一天起將這些工具的力量納入您的專案中。
**您將從這本書中學到什麼**
- 學習和使用 Jasmine、YUITest、QUnit 和 JsTestDriver 的強大功能。
- 通過實作學習如何同步和非同步測試您的 JavaScript 應用程式。
- 使用建置和整合管理工具自動化您的 JavaScript 測試。
- 為您的 JavaScript 測試生成測試報告。
- 自訂 JavaScript 單元測試框架,以包含豐富的測試表達式。
**方法**
這是一本實用的、以範例為驅動的指南,旨在幫助忙碌且認真的 JavaScript 開發者使用、自動化和整合 JavaScript 單元測試,追求卓越和成功。
**本書的讀者對象**
JavaScript 單元測試是每位網頁開發者、設計師、架構師和 JavaScript 程式設計師必備的指南,旨在確保他們的網頁應用程式和 JS 代碼的最高品質。假設讀者具備 JavaScript 的基本知識。