JavaScript Unit Testing

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.

Show sample text content

Download sample