Book Outline

Chapter 1: Unit Testing JavaScript Applications

  • What is Unit testing
  • Why do we need unit testing
  • What Test-Driven Development (TDD) is
  • Complexities in testing JavaScript applications
  • Weather forecasting application
  • Summary

Chapter 2: Jasmine

  • Configuration
  • Writing your first Jasmine Test
  • The nested describe blocks
  • Jasmine Matchers
  • Testing Asynchronous (Ajax) JavaScript code
  • HTML Fixtures
  • Testing the weather application
  • Summary

Chapter 3: YUITest

  • Configuration
  • Writing your first YUI test
  • Assertions
  • Testing Asynchronous (Ajax) JavaScript code
  • Testing the weather application
  • Automation and Integration with Build Management Tools
  • Summary

Chapter 4: QUnit

  • Configuration
  • Writing your first QUnit test
  • Assertions
  • Testing Asynchronous (Ajax) JavaScript code
  • Testing the weather application
  • Summary

Chapter 5: JsTestDriver

  • Architecture
  • Configuration
  • Writing your first JSTD Test
  • Assertions
  • Testing Asynchronous (Ajax) JavaScript code
  • Testing the weather application
  • Integration with other JavaScript test frameworks
  • Automation and Integration with Build Management Tools
  • Integration with the IDEs
  • Summary

Leave a Reply