Headless Javascript Testing with Visual Studio 2012 & Chutzpah Test Adapter

[Update: The amazing @mmanela has fixed the bug in my original video.  Get the latest Chutzpah from VS Extensions.  I’ve re-recorded the video also.]

More often than not, I’ll use the jasmine-node nodejs module for javascript testing.  It provides continuous testing/auto testing and it’s really fast.  To date, there really hasn’t been a good, if any, testing experience for javascript inside-the-box for Visual Studio.

In VS 2010, the Chutzpah extension tacked on jasmine and qunit support by running javascript tests outside of Visual Studio and pushing the results to the output window.  This was a big step forward.

In VS 2012, there is an open model for discovering and executing tests that Chutzpah and others have provided implementations for.  Now you can run NUnit, xUnit, Jasmine, and QUnit tests without 4 different runners.  Much nicer.  It even supports auto/continuous testing, though with an admittedly naive priority scheme compared to NCrunch or Mighty Moose.

Video: Jasmine Tests with Chutzpah in VS 2012

In this video, I’ve walked through a very simple setup using Chutzpah to run Jasmine tests inside Visual Studio 2012 RC.

 

One Reply to “Headless Javascript Testing with Visual Studio 2012 & Chutzpah Test Adapter”

  1. […] Headless Javascript Testing with Visual Studio 2012 & Chutzpah Test Adapter: A video demo on how to use Chutzpah to run Jasmine tests inside Visual Studio 2012 RC. (cromwellhaus.com) […]

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *