Over a million developers have joined DZone.

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

Classify programming languages: Build a model that predicts a code's programming language based on its text.  Content provided by IBM Developer. 

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.

Start coding something amazing with our library of open source Cloud code patterns. Content provided by IBM.

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 }}