JavaScript Unit Testing

Hazem Saleh

商品描述

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單元測試。
- 包括Jasmine、YUITest、QUnit和JsTestDriver等最受歡迎的JavaScript單元測試框架。
- 自動化並整合JavaScript單元測試,以提高效率和便利性。

詳細內容:
對於許多開發人員來說,每天最大的挑戰是確保產品的支持和覆蓋範圍。隨著主流網頁瀏覽器數量不斷增加,這對JavaScript開發人員來說變得更加困難。

從一開始,JavaScript單元測試將向您展示如何減少測試時間,並自動化和確保成功的效率。

JavaScript單元測試將介紹並幫助您掌握有效執行和自動化JavaScript單元測試的技巧,以應用於您的Web應用程序。

使用最受歡迎的JavaScript單元測試框架,您將開發、整合和自動化所有必要的測試,以確保您的Web應用程序的廣泛覆蓋和成功。

本書涵蓋了當今最受歡迎的JavaScript單元測試框架,是確保所有JavaScript和Ajax Web應用程序功能和成功的指南。

從Jasmine開始,您還將學習並使用YUITest、QUnit和JsTestDriver,將它們整合到您的項目中,並一起生成報告。

學習自動化這些工具,讓它們為您工作,並從第一天起在您的項目中使用這些工具的功能。

本書將以實例驅動的方式,為忙碌而有良知的JavaScript開發人員提供使用、自動化和整合JavaScript單元測試的實用指南,以追求卓越和成功。

本書適合每一位網頁開發人員、設計師、架構師和JavaScript開發人員,他們都希望確保其Web應用程序和JS代碼的最高質量。假設讀者已具備JavaScript知識。