Chutzpah 2.1 is now available. This release contains a few new features but most notable is that Chutzpah can now work directly on CoffeeScript files. You can enjoy the new bits from CodePlex, NuGet or go to the Visual Studio Gallery to get the updated Visual Studio Context Menu Extension and Unit Test Explorer adapter for Visual Studio 2012.
- Added support for writing tests in coffee script (item 58) – More details below
- Added option to ouput test results to XML file (item 57)
- Changed chutzpah.console.exe output to support VS error list integration (item 48)
- Tests complete doesn’t match total when using parallelism (item 59)
More about CoffeeScript Support
For example given a CoffeeScript test file that references another CoffeeScript file:
## <reference path="../code/code.coffee" /> test "A basic test", -> ok true, "this test is fine" value = "hello" equal "hello", value, "We expect value to be hello"
It will parse that file as well as the referenced code.coffee file and generate corresponding .js files. Notice the syntax for referencing other files. For CoffeeScript files Chutzpah uses comments that start with ## to indicate a reference declaration.