Chapter 5. JsTestDriver

There are a number of tools available for running your tests. JsTestDriver is one of the most powerful ones. It can easily integrate to your project setup and your development environment. So far, you learned about popular frameworks to write your tests. JsTestDriver enables you to run tests of majority of these frameworks. You, in this chapter, will see how to use JsTestDriver with Jasmine, YUI frameworks as well as learn to see how to integrate it with your IDE.

The following topics will be covered in this chapter:

  • JsTestDriver
  • Integrating JsTestDriver with IDE
  • Code coverage


We will first start with the overview about JsTestDriver, and then we will see that how we can set up the JsTestDriver.


Usually, most ...

Get Test-Driven JavaScript Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.