Integrate JavaScript Tests Into Your Development Workflow
Chutzpah can run JavaScript tests from inside Visual Studio 2012. And TFS extends this by allowing you to run JavaScript Unit tests into your builds.
Visual Studio 2012 comes with much better unit testing support and supports several open source frameworks through a plugin architecture for test runners. Chutzpah leverages this to bring JavaScript Unit testing within Visual Studio. One interesting thing is that you can mix your C# and .js tests in a single run, instead of having to run them separately. You can read Anatomy of the Chutzpah test Adapter… by Matthew to learn more about how this Test Adapter works or even how to write your own adapter.
Chutzpah supports both QUnit and Jasmine testing frameworks. This article from the Visual Studio ALM team gives more details about how to setup TFS build runners to run these tests.
Note that Chutzpah also supports TeamCity. And if you don’t use TFS or TeamCity for running your builds? You could use the Chutzpah command line api to integrate it into your build server. You can even use other tools such as js-test-driver or PhantomJS.
Visual Studio 2012 RC brings several other unit testing improvements as well, such as a continuous test runner, Smart test discovery and several enhancements for Metro Unit Testing.
Chutzpah is not TFS only
by
Matthew Manela
Re: Chutzpah is not TFS only
by
Roopesh Shenoy
Re: Chutzpah is not TFS only
by
Matthew Manela
Educational Content
Managing Build Jobs for Continuous Delivery
Martin Peston May 24, 2013
Clojure in the Field
Stuart Halloway May 23, 2013
Tuning the Size of Your Thread Pool
Kirk Pepperdine May 23, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think