Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Karma for Visual Studio? [closed]

I'm a big fan of continuous testing products like Infinitest. Lately I've been doing more JavaScript development, and was looking for something similar for Visua Studio that will run my Jasmine tests immediately after saving a file. Mighty Moose looks like it's just for .NET code. I do like the idea behind Karma, but ideally it would integrate well with Visual Studio 2012.

Is there such a beast?

like image 266
roufamatic Avatar asked Sep 30 '13 23:09

roufamatic


2 Answers

I've created a Visual Studio extension you might find useful if you want to use Karma. You basically use Karma as normal, but with an XML reporter enabled; and then a VS extension that watches that XML file and displays the results in the Test Explorer window.

There's a video of it in action (along with text instructions) on my blog: http://blog.dantup.com/2014/03/cross-browser-javascript-testing-with-karma-and-visual-studio/

Feedback welcome!

like image 182
Danny Tuppeny Avatar answered Oct 13 '22 00:10

Danny Tuppeny


There's a VS extension for Karma runner integration (shows Karma result in VS Output window): http://visualstudiogallery.msdn.microsoft.com/02f47876-0e7a-4f6c-93f8-1af5d5189225

like image 26
Buthrakaur Avatar answered Oct 13 '22 00:10

Buthrakaur