O'Reilly logo

Grunt Cookbook by Jurie-Jan Botha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Running Automated Tests

In this chapter, we will cover the following recipes:

  • Running Jasmine tests
  • Running QUnit tests
  • Running NodeUnit tests
  • Running Mocha client-side tests
  • Running Mocha server-side tests
  • Generating coverage reports for server-side code using Mocha and Blanket
  • Generating coverage reports for client-side code using Mocha and Blanket
  • Generating coverage reports for client-side code using QUnit and Istanbul

Introduction

As the size and complexity of a software unit increases, it can become quite time-consuming to ensure that it behaves according to its specifications each time it is altered. For this purpose, automated testing becomes invaluable by increasing the overall reliability and quality of a software unit, without constant ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required