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

Front-End Code Quality, Part 3 [Video]

DZone's Guide to

Front-End Code Quality, Part 3 [Video]

In Part 3, we look at how to install a VS extension, how it reads and understands Gruntfile.js, and, finally, how to run the JavaScript unit tests from it.

· Web Dev Zone ·
Free Resource

Learn how Crafter’s Git-based content management system is reinventing modern digital experiences. Download this white paper now. 

Running Jasmine JavaScript Unit Tests From Visual Studio Command Line Runner and Grunt

How to run JavaScript unit tests written in Jasmine from Visual Studio by using the Command Task Runner extension which provides a command line embedded inside Visual Studio. This extension supports different task runners as well as PowerShell and others. We will see how to install the extension, how it reads and understands Gruntfile.js, and, finally, how to run the JavaScript unit tests from it.

Crafter CMS is a modern Git-based platform for building innovative websites and content-rich digital experiences. Download this white paper now.

Topics:
web dev ,front-end development ,code quality ,visual studio ,grunt

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}