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

Front-End Code Quality, Part 4 [Video]

DZone's Guide to

Front-End Code Quality, Part 4 [Video]

A tutorial on how to use the Chutzpah extension of Visual Studio Test Explorer, along with Jasmine, to perform JavaScript unit testing.

· Web Dev Zone ·
Free Resource

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Running Jasmine-Bawed JavaScript Unit Tests From Visual Studio Test Explorer Using Chutzpah

How to run JavaScript unit tests written in Jasmine using Visual Studio Test Explorer and the Chutzpah extension. The main idea behind this post is that this extension is a test adapter for Visual Studio so it helps Test Explorer to understand Jasmine-based JavaScript unit tests. Chutzpah is also compatible with other JavaScript fretworks as well like Mocha and Qunit, so by using Chutzpah, we don’t need any Grunt or Gruntfile.js files, as this extension uses Jasmine's standalone version behind the scenes. 

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Topics:
web dev ,front-end development ,code quality ,chutzpah ,jasmine

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}