Setting Up a JavaScript Testing Environment in Visual Studio

added by Robert Greyling
10/23/2014 2:31:05 PM

274 Views

We’re going to set up the testing framework, Jasmine, the test autorunner, Karma, and supporting Visual Studio tools for testing JavaScript. I highly recommend AngularJS for structuring your code in a very testable manner. It’s like the Best. Thing. Ever. But that’s another topic altogether. But without such a framework, JavaScript testing can be a nightmare, even with these testing tools.


1 comments

Drew Peterson
10/23/2014 6:11:08 PM
There's also a [VS test adapter](https://visualstudiogallery.msdn.microsoft.com/bfe6feb7-7ec4-4e8e-9d90-cf6ea2cd2169) for Karma. Any thoughts on using that compared to Chutzpah?