Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Front-End Code Quality, Part 5 [Video]

DZone's Guide to

Front-End Code Quality, Part 5 [Video]

In Part 5 of our series, we check out what Istanbul and Grunt can do for your code coverage and unit testing efforts when working with JavaScript.

· Web Dev Zone ·
Free Resource

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

Running Jasmine-Based JavaScript Unit Tests With Code Coverage Using Istanbul and Grunt

How to calculate code coverage for JavaScript unit tests written in Jasmine using Istanbul.We will also see how to install contrib Jasmine in Istanbul, how to tweak the Gruntfile.js files in Jasmine tasks to include the code coverage settings, how to see the result of the code coverage as HTML versions, as well as from Command Line and Visual Studio Command Task runner.

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.

Topics:
web dev ,front-end development ,unit test ,istanbul ,code coverage

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}