<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>chutzpah Wiki Rss Feed</title><link>http://chutzpah.codeplex.com/</link><description>chutzpah Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>https://chutzpah.codeplex.com/wikipage?version=72</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Welcome to Chutzpah - A JavaScript Test Runner&lt;/h1&gt;Pronunciation: &lt;a href="http://www.thefreedictionary.com/chutzpah"&gt;hutz&amp;#183;pah&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Chutzpah is an open source JavaScript test runner which helps you integrate JavaScript unit testing into your website. It enables you to run JavaScript unit tests from the command line and from inside of Visual Studio. It also supports running in the TeamCity continuous integration server.&lt;br /&gt;&lt;br /&gt;Chutzpah supports both the &lt;a href="http://docs.jquery.com/QUnit"&gt;QUnit&lt;/a&gt; and &lt;a href="http://pivotal.github.com/jasmine/"&gt;Jasmine&lt;/a&gt; testing frameworks. &lt;br /&gt;Chutzpah uses the &lt;a href="http://www.phantomjs.org/"&gt;PhantomJS&lt;/a&gt; headless browser to run your tests.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Notice&lt;/b&gt;: &lt;a href="https://code.google.com/p/phantomjs/issues/detail?id=845"&gt;Known issue and workaround&lt;/a&gt; if you have both NVidia and Intel video drivers&lt;br /&gt;
&lt;h2&gt;Recent News&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-4-code-coverage-is-a-go/"&gt;Chutzpah 2.4  – Code Coverage is a go!&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-3-released/"&gt;Chutzpah 2.3 with the chutzpah.json setting file&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-2-with-typescript-support/"&gt;Chutzpah 2.2 with TypeScript support&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-1-now-with-coffeescript-support/"&gt;Chutzpah 2.1 now with CoffeeScript support&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/anatomy-of-the-chutzpah-test-adapter-for-vs-2012-rc/"&gt;Anatomy of the Chutzpah test adapter for VS 2012 RC&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Quick Downloads&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://chutzpah.codeplex.com/releases"&gt;Command Line Runner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/f8741f04-bae4-4900-81c7-7c9bfb9ed1fe"&gt;Visual Studio Test Adapter for Visual Studio 2012&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/71a4e9bd-f660-448f-bd92-f5a65d39b7f0"&gt;Visual Studio Test Runner for 2010 and 2012&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Contents&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="#What do I need to use this?"&gt;What do I need to use this?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#What can Chutzpah do?"&gt;What can Chutzpah do?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=runTests&amp;referringTitle=Home"&gt;How do I use Chutzpah&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coffeescript&amp;referringTitle=Home"&gt;How can I use it with CoffeeScript&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=sourceCode&amp;referringTitle=Home"&gt;How to build the code&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=contribute&amp;referringTitle=Home"&gt;How can I contribute to this project&amp;#63;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Requirements  &lt;a name="What do I need to use this?"&gt;&lt;/a&gt;&lt;/h2&gt;General 
&lt;ul&gt;&lt;li&gt;&lt;a href="http://docs.jquery.com/QUnit"&gt;QUnit&lt;/a&gt; or &lt;a href="http://pivotal.github.com/jasmine/"&gt;Jasmine&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Visual Studio integration
&lt;ul&gt;&lt;li&gt;Visual Studio 2010&lt;/li&gt;
&lt;li&gt;Visual Studio 2012&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Features &lt;a name="What can Chutzpah do?"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3&gt;Runs JavaScript unit tests from the command line&lt;/h3&gt;  &lt;img src="http://download-codeplex.sec.s-msft.com/Download?ProjectName=chutzpah&amp;DownloadId=250733" alt="commandLine.png" title="commandLine.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h3&gt;Run JavaScript unit tests from inside of Visual Studio&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;Right click menu to run tests&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://download-codeplex.sec.s-msft.com/Download?ProjectName=chutzpah&amp;DownloadId=450829" alt="contextmenu.png" title="contextmenu.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Shows test results in Error window&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://download-codeplex.sec.s-msft.com/Download?ProjectName=chutzpah&amp;DownloadId=250734" alt="errorWindow.png" title="errorWindow.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Shows test results in Ouput window&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://download-codeplex.sec.s-msft.com/Download?ProjectName=chutzpah&amp;DownloadId=250735" alt="outputWindow.png" title="outputWindow.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Integrates into VS 2012 Unit Test Explorer&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://download-codeplex.sec.s-msft.com/Download?ProjectName=chutzpah&amp;DownloadId=405025" alt="UnitTestExplorer.png" title="UnitTestExplorer.png" /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 19 May 2013 17:16:50 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130519051650P</guid></item><item><title>New Comment on "Chutzpah.json Settings File"</title><link>https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json Settings File&amp;ANCHOR#C27331</link><description>&amp;#64;saguir, That is a feature I would like to add and plan to in a future release.</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 18:12:15 GMT</pubDate><guid isPermaLink="false">New Comment on "Chutzpah.json Settings File" 20130428061215P</guid></item><item><title>Updated Wiki: Documentation</title><link>https://chutzpah.codeplex.com/documentation?version=16</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Chutzpah Documentation&lt;/h1&gt;
&lt;h2&gt;Using Chutzpah&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json%20Settings%20File&amp;referringTitle=Documentation"&gt;Chutzpah.json Settings File&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Chutzpah%20File%20References&amp;referringTitle=Documentation"&gt;Chutzpah File References&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Command%20Line%20Options&amp;referringTitle=Documentation"&gt;Command Line Options&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=runTests&amp;referringTitle=Documentation"&gt;Running JavaScript unit tests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coffeescript&amp;referringTitle=Documentation"&gt;Running unit tests written in CoffeeScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=typescript&amp;referringTitle=Documentation"&gt;Running unit tests written in TypeScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coverage&amp;referringTitle=Documentation"&gt;Showing code coverage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=tfsbuild&amp;referringTitle=Documentation"&gt;Running unit tests written in a TFS Build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Running%20against%20a%20remote%20url&amp;referringTitle=Documentation"&gt;Running against a remote url&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Visual%20Studio%20Extensions&amp;referringTitle=Documentation"&gt;Visual Studio Extensions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=howItWorks&amp;referringTitle=Documentation"&gt;How it works&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Contributing to Chutzpah&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=sourceCode&amp;referringTitle=Documentation"&gt;Building the code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=contribute&amp;referringTitle=Documentation"&gt;Contributing to the project&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:38:18 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20130428053818P</guid></item><item><title>Updated Wiki: Running against a remote url</title><link>https://chutzpah.codeplex.com/wikipage?title=Running against a remote url&amp;version=3</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Running again a remote url&lt;/h1&gt;
As of version 2.4 Chutzpah supports executing a remote test harness. If you have a html test file on a remote server (like http://somesite.com/test.html) you can tell Chutzpah to execute that file directly&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe http://somesite.com/test.html
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Chutzpah does not support running anything but .html files remotely. If you want to run Chutzpah directly on a .js, .ts or .coffee file they must be local on disk.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:37:28 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Running against a remote url 20130428053728P</guid></item><item><title>Updated Wiki: Running against a remote url</title><link>https://chutzpah.codeplex.com/wikipage?title=Running against a remote url&amp;version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Running again a remote url&lt;/h1&gt;
As of version 2.4 Chutzpah supports executing a remote test harness. If you have a html test file on a remote server (like http://somesite.com/test.html) you can tell Chutzpah to execute that file directly&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe http://somesite.com/test.html
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Chutzpah does not support running anything but .html files remotely. If you want to run Chutzpah directly on a .js, .ts or .coffee file they must be local on disk.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:37:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Running against a remote url 20130428053700P</guid></item><item><title>Updated Wiki: Running against a remote url</title><link>https://chutzpah.codeplex.com/wikipage?title=Running against a remote url&amp;version=1</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Running again a remote url&lt;/h1&gt;
As of version 2.4 Chutzpah supports executing a remote test harness. If you have a html test file on a remote server (like http://somesite.com/test.html) you can tell Chutzpah to execute that file directly&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe http://somesite.com/test.html
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Chutzpah does not support running anything but .html files remotely. If you want to run Chutzpah directly on a .js, .ts or .coffee file they must be local on disk.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:36:50 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Running against a remote url 20130428053650P</guid></item><item><title>Updated Wiki: Chutzpah File References</title><link>https://chutzpah.codeplex.com/wikipage?title=Chutzpah File References&amp;version=4</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Chutzpah File References&lt;/h1&gt;
One of the most important steps to having Chutzpah successfully run your tests is to set up your file references correctly. You accomplish this by adding a special file reference comment at the top of your files:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;When Chutzpah sees this it will include that file in the generated test harness as well as recursively scan that file to find all of its references. &lt;br /&gt;&lt;br /&gt;If you want to include a whole directory of files you can just specify a folder:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;some/folder&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Chutzpah will the recursively scan that folder to find all references.&lt;br /&gt;
&lt;h2&gt;Excluding References&lt;/h2&gt;The reference syntax is also used by VS to give intellisense in JS files. This leads to an issue since sometimes you may reference a version of a file just for intellisense but you do not want Chutzpah to copy it. In this case you can include the chutzpah-exclude attribute to have it ignored by Chutzpah:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; chutzpah-exclude=&amp;quot;true&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;Alternate Reference Syntax&lt;/h2&gt;The reference syntax is also used by the TypeScript compiler for referencing files. This can cause an issue since Chutzpah expects you to reference your implementation files and TypeScript excepts you to reference your definition files. To mitigate this issue you can use a Chutzpah specific version of the reference command:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;chutzpah_reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;This works the same as the other syntax except that TypeScript (and VS) will ignore it.&lt;br /&gt;
&lt;h2&gt;Root Reference Path Mode&lt;/h2&gt;If you write a reference path like &lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;then Chutzpah searched for that dependency relative to the current file. However, you can also specify a reference path like&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;/someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The beginning forward slash will tell Chutzpah to find that file at the root of the drive the file is in (e.g C:\).  This behavior is configurable using a chutpah.json file. For example if you want the rooted reference path to be relative to a different directory you can place the a chutzpah.json file in that directory with the following content:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
{
    &lt;span style="color:#A31515;"&gt;&amp;quot;RootReferencePathMode&amp;quot;&lt;/span&gt;:&lt;span style="color:#A31515;"&gt;&amp;quot;SettingsFileDirectory&amp;quot;&lt;/span&gt;
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Click this link to lean more of the &lt;a href="https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json%20Settings%20File&amp;referringTitle=Chutzpah%20File%20References"&gt;Chutzpah.json Settings File&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:33:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Chutzpah File References 20130428053333P</guid></item><item><title>Updated Wiki: Chutzpah File References</title><link>https://chutzpah.codeplex.com/wikipage?title=Chutzpah File References&amp;version=3</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Chutzpah File References&lt;/h1&gt;
One of the most important steps to having Chutzpah successfully run your tests is to set up your file references correctly. You accomplish this by adding a special file reference comment at the top of your files:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;When Chutzpah sees this it will include that file in the generated test harness as well as recursively scan that file to find all of its references. &lt;br /&gt;&lt;br /&gt;If you want to include a whole directory of files you can just specify a folder:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;some/folder&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Chutzpah will the recursively scan that folder to find all references.&lt;br /&gt;
&lt;h2&gt;Excluding References&lt;/h2&gt;The reference syntax is also used by VS to give intellisense in JS files. This leads to an issue since sometimes you may reference a version of a file just for intellisense but you do not want Chutzpah to copy it. In this case you can include the chutzpah-exclude attribute to have it ignored by Chutzpah:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; chutzpah-exclude=&amp;quot;true&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;Alternate Reference Syntax&lt;/h2&gt;The reference syntax is also used by the TypeScript compiler for referencing files. This can cause an issue since Chutzpah expects you to reference your implementation files and TypeScript excepts you to reference your definition files. To mitigate this issue you can use a Chutzpah specific version of the reference command:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;chutzpah_reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;This works the same as the other syntax except that TypeScript (and VS) will ignore it.&lt;br /&gt;
&lt;h2&gt;Root Reference Path Mode&lt;/h2&gt;If you write a reference path like &lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;then Chutzpah searched for that dependency relative to the current file. However, you can also specify a reference path like&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Green;"&gt;/// &amp;lt;reference path=&amp;quot;/someDependency.js&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The beginning forward slash will tell Chutzpah to find that file at the root of the drive the file is in (e.g C:\).  This behavior is configurable using a chutpah.json file. For example if you want the rooted reference path to be relative to a different directory you can place the a chutzpah.json file in that directory with the following content:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
{
    &lt;span style="color:#A31515;"&gt;&amp;quot;RootReferencePathMode&amp;quot;&lt;/span&gt;:&lt;span style="color:#A31515;"&gt;&amp;quot;SettingsFileDirectory&amp;quot;&lt;/span&gt;
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;You can read more about the &lt;a href="https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json%20Settings%20File&amp;referringTitle=Chutzpah%20File%20References"&gt;Chutzpah.json Settings File&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:33:06 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Chutzpah File References 20130428053306P</guid></item><item><title>Updated Wiki: Chutzpah.json Settings File</title><link>https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json Settings File&amp;version=4</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Using the Chutzpah.json Settings File&lt;/h1&gt;
The Chutzpah settings file is an .json file that you can place anywhere in your testing directories to inform Chutzpah of test specific settings. The Chuzpah settings file is completely optional and if the file or any of its properties are omitted Chutzpah will use the default values.&lt;br /&gt;&lt;br /&gt;When Chutzpah is run on a file (lets say test.js) it scans the current directory for a file named chutzpah.json. If it does not find one it will recursively traverse up the directory chain looking for one. This behavior provides a lot of flexibility since you can provide multiple chutzpah.json files in your tree and each one will work over its sub-folder. This lets you have different settings for different groups of tests.&lt;br /&gt;&lt;br /&gt;The settings file is a text file with json content of the following format:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
{
    &lt;span style="color:#A31515;"&gt;&amp;quot;Framework&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;qunit|jasmine&amp;quot;&lt;/span&gt;,
    
    &lt;span style="color:#A31515;"&gt;&amp;quot;TestFileTimeout&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;&amp;lt;Timeout in milliseconds&amp;gt;&amp;quot;&lt;/span&gt;,
    
    &lt;span style="color:#A31515;"&gt;&amp;quot;TestHarnessLocationMode&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;TestFileAdjacent|SettingsFileAdjacent|Custom&amp;quot;&lt;/span&gt;,
    
    &lt;span style="color:#A31515;"&gt;&amp;quot;TestHarnessDirectory&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;&amp;lt;Path to a folder&amp;gt;&amp;quot;&lt;/span&gt;,

    &lt;span style="color:#A31515;"&gt;&amp;quot;TypeScriptCodeGenTarget&amp;quot;&lt;/span&gt; : &lt;span style="color:#A31515;"&gt;&amp;quot;ES3|ES5&amp;quot;&lt;/span&gt;,
    
    &lt;span style="color:#A31515;"&gt;&amp;quot;RootReferencePathMode&amp;quot;&lt;/span&gt;:&lt;span style="color:#A31515;"&gt;&amp;quot;DriveRoot|SettingsFileDirectory&amp;quot;&lt;/span&gt;,
    
    &lt;span style="color:#A31515;"&gt;&amp;quot;CodeCoverageIncludes&amp;quot;&lt;/span&gt;: [],
    
    &lt;span style="color:#A31515;"&gt;&amp;quot;CodeCoverageExcludes&amp;quot;&lt;/span&gt;: []
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The chutzpah.json file supports the following properties&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Framework&lt;/b&gt; – Determines what testing framework to use. This will override the other detection methods. This is helpful if Chutzpah is having trouble figuring out what your intended framework is. If left out Chutzpah will automatically try to detect the framework.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TestFileTimeout&lt;/b&gt; - The time to wait for tests in a file to finish in milliseconds&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TestHarnessLocationMode&lt;/b&gt; – Determines where to place the generated html test harness files. The default mode is &lt;i&gt;TestFileAdjacent&lt;/i&gt; which means the harness is placed in the same directory as the test file. &lt;i&gt;SettingsFileAdjacent&lt;/i&gt; means it is placed in the same directory as the chutzpah.json file. &lt;i&gt;Custom&lt;/i&gt; mode lets you specify a custom path to the directory.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TestHarnessDirectory&lt;/b&gt; – When TestHarnessLocationMode is set to Custom this is either the relative or absolute path to the directory where to place the test harness.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TypeScriptCodeGenTarget&lt;/b&gt; – When running on a TypeScript file this property will tell the TypeScript compiler what type of code to generate. &lt;i&gt;ES3&lt;/i&gt; is for ECMAScript 3 and &lt;i&gt;ES5&lt;/i&gt; is for ECMAScript 5.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;RootReferencePathMode&lt;/b&gt; – This property determines what directory a rooted reference path refers to. In a test file Chutzpah parses the &amp;lt;reference path=&amp;quot;&amp;quot; /&amp;gt; tags to determine your test dependencies. By default  (the &lt;i&gt;DriveRoot&lt;/i&gt; setting) if you write &amp;lt;reference path=&amp;quot;\a.js&amp;quot; /&amp;gt; Chutzpah will look for a.js under C:\ (assuming you are running your test in the C drive). However, if you set this property to &lt;i&gt;SettingsFileDirectory&lt;/i&gt; Chutpah will now look for a.js relative to the location of the chutzpah.json file. This is useful if you have a large project and want to minimize the number of long reference paths.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CodeCoverageIncludes&lt;/b&gt; - The collection code coverage file patterns to include in coverage. These are in glob format. If you specify none all files are included.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CodeCoverageExcludes&lt;/b&gt; - The collection code coverage file patterns to exclude in coverage. These are in glob format. If you specify none no files are excluded.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;This file tells Chutzpah to use QUnit and to place the test harness next to the chutzpah.json file:&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
{
    &lt;span style="color:#A31515;"&gt;&amp;quot;Framework&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;qunit&amp;quot;&lt;/span&gt;,
    &lt;span style="color:#A31515;"&gt;&amp;quot;TestHarnessLocationMode&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;SettingsFileAdjacent&amp;quot;&lt;/span&gt;
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;This file tells Chutzpah to convert TypeScript to ES5 code and to place the test harness in a custom directory:&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
{
    &lt;span style="color:#A31515;"&gt;&amp;quot;TypeScriptCodeGenTarget&amp;quot;&lt;/span&gt; : &lt;span style="color:#A31515;"&gt;&amp;quot;ES5&amp;quot;&lt;/span&gt;,
    &lt;span style="color:#A31515;"&gt;&amp;quot;TestHarnessLocationMode&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;Custom&amp;quot;&lt;/span&gt;,
    &lt;span style="color:#A31515;"&gt;&amp;quot;TestHarnessDirectory&amp;quot;&lt;/span&gt;: &lt;span style="color:#A31515;"&gt;&amp;quot;../Some/Folder&amp;quot;&lt;/span&gt;
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;When run with Code Coverage this file tells Chutzpah to exclude files named jquery.js and include files that have a suffix of query.js or are named dogs.js:&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
{
    &lt;span style="color:#A31515;"&gt;&amp;quot;CodeCoverageExcludes&amp;quot;&lt;/span&gt;: [&lt;span style="color:#A31515;"&gt;&amp;quot;*\\jquery.js&amp;quot;&lt;/span&gt;],
    &lt;span style="color:#A31515;"&gt;&amp;quot;CodeCoverageIncludes&amp;quot;&lt;/span&gt;: [&lt;span style="color:#A31515;"&gt;&amp;quot;*query.js&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;*\\dog.js&amp;quot;&lt;/span&gt;]
} 
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:31:42 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Chutzpah.json Settings File 20130428053142P</guid></item><item><title>Updated Wiki: Chutzpah File References</title><link>https://chutzpah.codeplex.com/wikipage?title=Chutzpah File References&amp;version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Chutzpah File References&lt;/h1&gt;
One of the most important steps to having Chutzpah successfully run your tests is to set up your file references correctly. You accomplish this by adding a special file reference comment at the top of your files:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When Chutzpah sees this it will include that file in the generated test harness as well as recursively scan that file to find all of its references. &lt;br /&gt;&lt;br /&gt;If you want to include a whole directory of files you can just specify a folder:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;reference path=&amp;quot;some/folder&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Chutzpah will the recursively scan that folder to find all references.&lt;br /&gt;
&lt;h2&gt;Excluding References&lt;/h2&gt;The reference syntax is also used by VS to give intellisense in JS files. This leads to an issue since sometimes you may reference a version of a file just for intellisense but you do not want Chutzpah to copy it. In this case you can include the chutzpah-exclude attribute to have it ignored by Chutzpah:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; chutzpah-exclude=&amp;quot;true&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Alternate Reference Syntax&lt;/h2&gt;The reference syntax is also used by the TypeScript compiler for referencing files. This can cause an issue since Chutzpah expects you to reference your implementation files and TypeScript excepts you to reference your definition files. To mitigate this issue you can use a Chutzpah specific version of the reference command:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;chutzpah_reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This works the same as the other syntax except that TypeScript (and VS) will ignore it.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:21:30 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Chutzpah File References 20130428052130P</guid></item><item><title>Updated Wiki: Chutzpah File References</title><link>https://chutzpah.codeplex.com/wikipage?title=Chutzpah File References&amp;version=1</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Chutzpah File References&lt;/h1&gt;
One of the most important steps to having Chutzpah successfully run your tests is to set up your file references correctly. You accomplish this by adding a special file reference comment at the top of your files:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When Chutzpah sees this it will include that file in the generated test harness as well as recursively scan that file to find all of its references. &lt;br /&gt;&lt;br /&gt;If you want to include a whole directory of files you can just specify a folder:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;reference path=&amp;quot;some/folder&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Chutzpah will the recursively scan that folder to find all references.&lt;br /&gt;
&lt;h2&gt;Excluding References&lt;/h2&gt;The reference syntax is also used by VS to give intellisense in JS files. This leads to an issue since sometimes you may reference a version of a file just for intellisense but you do not want Chutzpah to copy it. In this case you can include the chutzpah-exclude attribute to have it ignored by Chutzpah:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;reference path=&amp;quot;someDependency.js&amp;quot; chutzpah-exclude=&amp;quot;true&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Alternate Reference Syntax&lt;/h2&gt;The reference syntax is also used by the TypeScript compiler for referencing files. This can cause an issue since Chutzpah expects you to reference your implementation files and TypeScript excepts you to reference your definition files. To mitigate this issue you can use a Chutzpah specific version of the reference command:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/// &amp;lt;chutzpah_reference path=&amp;quot;someDependency.js&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This works the same as the other syntax except that TypeScript (and VS) will ignore it.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:19:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Chutzpah File References 20130428051933P</guid></item><item><title>Updated Wiki: Documentation</title><link>https://chutzpah.codeplex.com/documentation?version=15</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Chutzpah Documentation&lt;/h1&gt;
&lt;h2&gt;Using Chutzpah&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json%20Settings%20File&amp;referringTitle=Documentation"&gt;Chutzpah.json Settings File&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Chutzpah%20File%20References&amp;referringTitle=Documentation"&gt;Chutzpah File References&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Command%20Line%20Options&amp;referringTitle=Documentation"&gt;Command Line Options&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=runTests&amp;referringTitle=Documentation"&gt;Running JavaScript unit tests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coffeescript&amp;referringTitle=Documentation"&gt;Running unit tests written in CoffeeScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=typescript&amp;referringTitle=Documentation"&gt;Running unit tests written in TypeScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coverage&amp;referringTitle=Documentation"&gt;Showing code coverage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=tfsbuild&amp;referringTitle=Documentation"&gt;Running unit tests written in a TFS Build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Running%20against%20a%20remote%20url&amp;referringTitle=Documentation"&gt;Running against a remote url&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Visual%20Studio%20Extensions&amp;referringTitle=Documentation"&gt;Visual Studio Extensions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=howItWorks&amp;referringTitle=Documentation"&gt;How it works&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Contributing to Chutzpah&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=sourceCode&amp;referringTitle=Documentation"&gt;Building the code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=contribute&amp;referringTitle=Documentation"&gt;Contributing to the project&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Sun, 28 Apr 2013 17:07:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20130428050733P</guid></item><item><title>Updated Wiki: coverage</title><link>https://chutzpah.codeplex.com/wikipage?title=coverage&amp;version=3</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Code Coverage in Chutzpah&lt;/h1&gt;
Chutzpah’s new code coverage features is built on top of the great open source library Blanket.js. When you run with code coverage enabled it will use &lt;a href="http://blanketjs.org/"&gt;Blanket.js&lt;/a&gt; to instrument the files under test and gather the coverage results. You can perform code coverage from the command line and both Visual Studio plugins. &lt;br /&gt;
&lt;h2&gt;Command Line&lt;/h2&gt;
To get code coverage from the command line you pass the /coverage flag to chutzpah.console.exe. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /coverage /path test.js
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;After this command finishes you will have a two files placed in your current directory &lt;br /&gt;&lt;br /&gt;_Chutzpah.coverage.html – The rendered html results&lt;br /&gt;_Chutzpah.coverage.json – The raw json results   &lt;br /&gt;&lt;br /&gt;When you open the results html file you will see something like: &lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=668135" alt="coverageResults.png" title="coverageResults.png" /&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h2&gt;Visual Studio Context Menu Extension&lt;/h2&gt;
The Visual Studio Context Menu Extension now contains a Show Code Coverage command which will perform code coverage and open the results in a browser.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=668134" alt="contextCoverage.png" title="contextCoverage.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Visual Studio 2012 Test Adapter Extension&lt;/h2&gt;
For the Unit Test Explorer adapter for Visual Studio 2012 Chutzpah piggybacks on the existing “Analyze Code Coverage” menu option and uses it to run with code coverage and show the results in a browser. Ideally, Chutzpah would integrate into the code coverage reporting built into VS but I was unable to figure out a good way to plug in to that. The side effect is that when you run this command VS will open their results window first (with nothing in it) and then Chutzpah will launch its results in a browser.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=668133" alt="adapterCoverage.png" title="adapterCoverage.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; I have noticed some performance issues when running “Analyze Code Coverage for All Tests” command. I think it might be VS doing extra work for no reason since it is trying to generate its own report.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h2&gt;Configuration Code Coverage&lt;/h2&gt;
Being able to run code coverage is not enough since in many cases the results will not be accurate. For example, if your project uses jQuery you do not expect your test to cover all the lines of jQuery’s source code (that would be one impressive test). Therefore you need to exclude files/directories from participating in code coverage. There are two way you can do that with Chutpah: command line arguments or a chutzpah.json file.&lt;br /&gt;&lt;br /&gt;If you are running Chutzpah from the command line there are two additional arguments you can pass coverageIncludes and  coverageExcludes. These are a comma separated list of files/paths you want to include or exclude from coverage. They can use a glob format where * matches zero or more characters and ? matches one character. For example:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Exclude files that ends in matt.js&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageExcludes *matt.js 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Include only dog.js and any file with a single character extension&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageIncludes &amp;quot;*\dog.js, *.?&amp;quot; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Include *query.js but exclude jQuery.js&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageIncludes *query.js /coverageExcludes *\jquery.js
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The other option for configuring code coverage is the chutzpah.json file. There are two new setting which you can use CodeCoverageExcludes and CodeCoverageIncludes. These settings work in the same way as the their command line counterpart. The main difference is that you must escape backslashes.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
{
  &amp;quot;CodeCoverageExcludes&amp;quot;: [&amp;quot;*\\jquery.js&amp;quot;],
  &amp;quot;CodeCoverageIncludes&amp;quot;: [&amp;quot;*query.js&amp;quot;, &amp;quot;*\\dog.js&amp;quot;]
} 
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:21:55 GMT</pubDate><guid isPermaLink="false">Updated Wiki: coverage 20130424042155A</guid></item><item><title>Updated Wiki: Command Line Options</title><link>https://chutzpah.codeplex.com/wikipage?title=Command Line Options&amp;version=3</link><description>&lt;div class="wikidoc"&gt;&lt;pre&gt;
Chutzpah console test runner (64-bit .NET 4.0.30319.18033)
Copyright (C) 2013 Matthew Manela (http://matthewmanela.com).

usage: chutzpah.console [options]
usage: chutzpah.console &amp;lt;testFile&amp;gt; [options]

Valid options:
  /silent                : Do not output running test count
  /teamcity              : Forces TeamCity mode (normally auto-detected)
  /wait                  : Wait for input after completion
  /failOnScriptError     : Return a non-zero exit code if any script errors occurs
  /debug                 : Print debugging information
  /openInBrowser         : Launch the tests in the default browser
  /timeoutMilliseconds   : Amount of time to wait for a test file to finish before failing. (Default
s to 5000)
  /parallelism [n]       : Max degree of parallelism for Chutzpah. Defaults to number of CPUs + 1
                         : If you specify more than 1 the test output may be a bit jumbled
  /path path             : Adds a path to a folder or file to the list of test paths to run.
                         : Specify more than one to add multiple paths.
                         : If you give a folder, it will be scanned for testable files.
                         : (e.g. /path test1.html /path testFolder)
  /file path             : Alias for /path
  /vsoutput              : Print output in a format that the VS error list recognizes
  /coverage              : Enable coverage collection
  /coverageIncludes pat  : Only instrument files that match the given shell patterns (in glob format
), comma separated.
  /coverageExcludes pat  : Don&amp;#39;t instrument files that match the given shell pattern (in glob format
), comma separated.
  /compilercache         : File where compiled scripts can be cached. Defaults to a file in the temp
 directory.
  /compilercachesize     : The maximum size of the cache in Mb. Defaults to 32Mb.
  /testMode              : The mode to test in (All, Html, AllExceptHTML, TypeScript, CoffeeScript,
JavaScript)
  /junit filename        : output results to JUnit-style XML file

&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:20:14 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Command Line Options 20130424042014A</guid></item><item><title>Updated Wiki: coverage</title><link>https://chutzpah.codeplex.com/wikipage?title=coverage&amp;version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Code Coverage in Chutzpah&lt;/h1&gt;
Chutzpah’s new code coverage features is built on top of the great open source library Blanket.js. When you run with code coverage enabled it will use &lt;a href="http://blanketjs.org/"&gt;Blanket.js&lt;/a&gt; to instrument the files under test and gather the coverage results. You can perform code coverage from the command line and both Visual Studio plugins. &lt;br /&gt;
&lt;h2&gt;Command Line&lt;/h2&gt;
To get code coverage from the command line you pass the /coverage flag to chutzpah.console.exe. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /coverage /path test.jsAfter this command finishes you will have a two files placed in your current directory 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;_Chutzpah.coverage.html – The rendered html results&lt;br /&gt;_Chutzpah.coverage.json – The raw json results   &lt;br /&gt;&lt;br /&gt;When you open the results html file you will see something like: &lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=668135" alt="coverageResults.png" title="coverageResults.png" /&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h2&gt;Visual Studio Context Menu Extension&lt;/h2&gt;
The Visual Studio Context Menu Extension now contains a Show Code Coverage command which will perform code coverage and open the results in a browser.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=668134" alt="contextCoverage.png" title="contextCoverage.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Visual Studio 2012 Test Adapter Extension&lt;/h2&gt;
For the Unit Test Explorer adapter for Visual Studio 2012 Chutzpah piggybacks on the existing “Analyze Code Coverage” menu option and uses it to run with code coverage and show the results in a browser. Ideally, Chutzpah would integrate into the code coverage reporting built into VS but I was unable to figure out a good way to plug in to that. The side effect is that when you run this command VS will open their results window first (with nothing in it) and then Chutzpah will launch its results in a browser.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=668133" alt="adapterCoverage.png" title="adapterCoverage.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; I have noticed some performance issues when running “Analyze Code Coverage for All Tests” command. I think it might be VS doing extra work for no reason since it is trying to generate its own report.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h2&gt;Configuration Code Coverage&lt;/h2&gt;
Being able to run code coverage is not enough since in many cases the results will not be accurate. For example, if your project uses jQuery you do not expect your test to cover all the lines of jQuery’s source code (that would be one impressive test). Therefore you need to exclude files/directories from participating in code coverage. There are two way you can do that with Chutpah: command line arguments or a chutzpah.json file.&lt;br /&gt;&lt;br /&gt;If you are running Chutzpah from the command line there are two additional arguments you can pass coverageIncludes and  coverageExcludes. These are a comma separated list of files/paths you want to include or exclude from coverage. They can use a glob format where * matches zero or more characters and ? matches one character. For example:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Exclude files that ends in matt.js&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageExcludes *matt.js 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Include only dog.js and any file with a single character extension&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageIncludes &amp;quot;*\dog.js, *.?&amp;quot; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Include *query.js but exclude jQuery.js&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageIncludes *query.js /coverageExcludes *\jquery.js
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The other option for configuring code coverage is the chutzpah.json file. There are two new setting which you can use CodeCoverageExcludes and CodeCoverageIncludes. These settings work in the same way as the their command line counterpart. The main difference is that you must escape backslashes.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
{
  &amp;quot;CodeCoverageExcludes&amp;quot;: [&amp;quot;*\\jquery.js&amp;quot;],
  &amp;quot;CodeCoverageIncludes&amp;quot;: [&amp;quot;*query.js&amp;quot;, &amp;quot;*\\dog.js&amp;quot;]
} 
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:17:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: coverage 20130424041731A</guid></item><item><title>Updated Wiki: coverage</title><link>https://chutzpah.codeplex.com/wikipage?title=coverage&amp;version=1</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Code Coverage in Chutzpah&lt;/h1&gt;
Chutzpah’s new code coverage features is built on top of the great open source library Blanket.js. When you run with code coverage enabled it will use &lt;a href="http://blanketjs.org/"&gt;Blanket.js&lt;/a&gt; to instrument the files under test and gather the coverage results. You can perform code coverage from the command line and both Visual Studio plugins. &lt;br /&gt;
&lt;h2&gt;Command Line&lt;/h2&gt;
To get code coverage from the command line you pass the /coverage flag to chutzpah.console.exe. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /coverage /path test.jsAfter this command finishes you will have a two files placed in your current directory 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;_Chutzpah.coverage.html – The rendered html results&lt;br /&gt;_Chutzpah.coverage.json – The raw json results   &lt;br /&gt;&lt;br /&gt;When you open the results html file you will see something like: &lt;br /&gt;&lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve image macro, invalid image name or id.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h2&gt;Visual Studio Context Menu Extension&lt;/h2&gt;
The Visual Studio Context Menu Extension now contains a Show Code Coverage command which will perform code coverage and open the results in a browser.&lt;br /&gt;&lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve image macro, invalid image name or id.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Visual Studio 2012 Test Adapter Extension&lt;/h2&gt;
For the Unit Test Explorer adapter for Visual Studio 2012 Chutzpah piggybacks on the existing “Analyze Code Coverage” menu option and uses it to run with code coverage and show the results in a browser. Ideally, Chutzpah would integrate into the code coverage reporting built into VS but I was unable to figure out a good way to plug in to that. The side effect is that when you run this command VS will open their results window first (with nothing in it) and then Chutzpah will launch its results in a browser.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve image macro, invalid image name or id.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; I have noticed some performance issues when running “Analyze Code Coverage for All Tests” command. I think it might be VS doing extra work for no reason since it is trying to generate its own report.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h2&gt;Configuration Code Coverage&lt;/h2&gt;
Being able to run code coverage is not enough since in many cases the results will not be accurate. For example, if your project uses jQuery you do not expect your test to cover all the lines of jQuery’s source code (that would be one impressive test). Therefore you need to exclude files/directories from participating in code coverage. There are two way you can do that with Chutpah: command line arguments or a chutzpah.json file.&lt;br /&gt;&lt;br /&gt;If you are running Chutzpah from the command line there are two additional arguments you can pass coverageIncludes and  coverageExcludes. These are a comma separated list of files/paths you want to include or exclude from coverage. They can use a glob format where * matches zero or more characters and ? matches one character. For example:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Exclude files that ends in matt.js&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageExcludes *matt.js 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Include only dog.js and any file with a single character extension&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageIncludes &amp;quot;*\dog.js, *.?&amp;quot; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Include *query.js but exclude jQuery.js&lt;/i&gt;&lt;br /&gt;&lt;pre&gt;
chutzpah.console.exe /path test.js /coverage /coverageIncludes *query.js /coverageExcludes *\jquery.js
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The other option for configuring code coverage is the chutzpah.json file. There are two new setting which you can use CodeCoverageExcludes and CodeCoverageIncludes. These settings work in the same way as the their command line counterpart. The main difference is that you must escape backslashes.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
{
  &amp;quot;CodeCoverageExcludes&amp;quot;: [&amp;quot;*\\jquery.js&amp;quot;],
  &amp;quot;CodeCoverageIncludes&amp;quot;: [&amp;quot;*query.js&amp;quot;, &amp;quot;*\\dog.js&amp;quot;]
} 
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:16:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: coverage 20130424041653A</guid></item><item><title>Updated Wiki: Documentation</title><link>https://chutzpah.codeplex.com/documentation?version=14</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Chutzpah Documentation&lt;/h1&gt;
&lt;h2&gt;Using Chutzpah&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json%20Settings%20File&amp;referringTitle=Documentation"&gt;Chutzpah.json Settings File&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=runTests&amp;referringTitle=Documentation"&gt;Running JavaScript unit tests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coffeescript&amp;referringTitle=Documentation"&gt;Running unit tests written in CoffeeScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=typescript&amp;referringTitle=Documentation"&gt;Running unit tests written in TypeScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coverage&amp;referringTitle=Documentation"&gt;Showing code coverage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=tfsbuild&amp;referringTitle=Documentation"&gt;Running unit tests written in a TFS Build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Command%20Line%20Options&amp;referringTitle=Documentation"&gt;Command Line Options&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=Visual%20Studio%20Extensions&amp;referringTitle=Documentation"&gt;Visual Studio Extensions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=howItWorks&amp;referringTitle=Documentation"&gt;How it works&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Contributing to Chutzpah&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=sourceCode&amp;referringTitle=Documentation"&gt;Building the code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=contribute&amp;referringTitle=Documentation"&gt;Contributing to the project&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:14:41 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20130424041441A</guid></item><item><title>Updated Wiki: Home</title><link>https://chutzpah.codeplex.com/wikipage?version=71</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Welcome to Chutzpah - A JavaScript Test Runner&lt;/h1&gt;Pronunciation: &lt;a href="http://www.thefreedictionary.com/chutzpah"&gt;hutz&amp;#183;pah&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Chutzpah is an open source JavaScript test runner which helps you integrate JavaScript unit testing into your website. It enables you to run JavaScript unit tests from the command line and from inside of Visual Studio. It also supports running in the TeamCity continuous integration server.&lt;br /&gt;&lt;br /&gt;Chutzpah supports both the &lt;a href="http://docs.jquery.com/QUnit"&gt;QUnit&lt;/a&gt; and &lt;a href="http://pivotal.github.com/jasmine/"&gt;Jasmine&lt;/a&gt; testing frameworks. &lt;br /&gt;Chutzpah uses the &lt;a href="http://www.phantomjs.org/"&gt;PhantomJS&lt;/a&gt; headless browser to run your tests.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Notice&lt;/b&gt;: &lt;a href="https://code.google.com/p/phantomjs/issues/detail?id=845"&gt;Known issue and workaround&lt;/a&gt; if you have both NVidia and Intel video drivers&lt;br /&gt;
&lt;h2&gt;Recent News&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-4-code-coverage-is-a-go/"&gt;Chutzpah 2.4  – Code Coverage is a go!&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-3-released/"&gt;Chutzpah 2.3 with the chutzpah.json setting file&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-2-with-typescript-support/"&gt;Chutzpah 2.2 with TypeScript support&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-1-now-with-coffeescript-support/"&gt;Chutzpah 2.1 now with CoffeeScript support&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/anatomy-of-the-chutzpah-test-adapter-for-vs-2012-rc/"&gt;Anatomy of the Chutzpah test adapter for VS 2012 RC&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Quick Downloads&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://chutzpah.codeplex.com/releases"&gt;Command Line Runner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/f8741f04-bae4-4900-81c7-7c9bfb9ed1fe"&gt;Visual Studio Test Adapter for Visual Studio 2012&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/71a4e9bd-f660-448f-bd92-f5a65d39b7f0"&gt;Visual Studio Test Runner for 2010 and 2012&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Contents&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="#What do I need to use this?"&gt;What do I need to use this?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#What can Chutzpah do?"&gt;What can Chutzpah do?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=runTests&amp;referringTitle=Home"&gt;How do I use Chutzpah&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coffeescript&amp;referringTitle=Home"&gt;How can I use it with CoffeeScript&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=sourceCode&amp;referringTitle=Home"&gt;How to build the code&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=contribute&amp;referringTitle=Home"&gt;How can I contribute to this project&amp;#63;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Requirements  &lt;a name="What do I need to use this?"&gt;&lt;/a&gt;&lt;/h2&gt;General 
&lt;ul&gt;&lt;li&gt;&lt;a href="http://docs.jquery.com/QUnit"&gt;QUnit&lt;/a&gt; or &lt;a href="http://pivotal.github.com/jasmine/"&gt;Jasmine&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Visual Studio integration
&lt;ul&gt;&lt;li&gt;Visual Studio 2010&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Features &lt;a name="What can Chutzpah do?"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3&gt;Runs JavaScript unit tests from the command line&lt;/h3&gt;  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=250733" alt="commandLine.png" title="commandLine.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h3&gt;Run JavaScript unit tests from inside of Visual Studio&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;Right click menu to run tests&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=450829" alt="contextmenu.png" title="contextmenu.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Shows test results in Error window&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=250734" alt="errorWindow.png" title="errorWindow.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Shows test results in Ouput window&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=250735" alt="outputWindow.png" title="outputWindow.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Integrates into VS 2012 Unit Test Explorer&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=405025" alt="UnitTestExplorer.png" title="UnitTestExplorer.png" /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:08:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130424040853A</guid></item><item><title>Updated Wiki: Home</title><link>https://chutzpah.codeplex.com/wikipage?version=70</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Welcome to Chutzpah - A JavaScript Test Runner&lt;/h1&gt;Pronunciation: &lt;a href="http://www.thefreedictionary.com/chutzpah"&gt;hutz&amp;#183;pah&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Chutzpah is an open source JavaScript test runner which helps you integrate JavaScript unit testing into your website. It enables you to run JavaScript unit tests from the command line and from inside of Visual Studio. It also supports running in the TeamCity continuous integration server.&lt;br /&gt;&lt;br /&gt;Chutzpah supports both the &lt;a href="http://docs.jquery.com/QUnit"&gt;QUnit&lt;/a&gt; and &lt;a href="http://pivotal.github.com/jasmine/"&gt;Jasmine&lt;/a&gt; testing frameworks. &lt;br /&gt;Chutzpah uses the &lt;a href="http://www.phantomjs.org/"&gt;PhantomJS&lt;/a&gt; headless browser to run your tests.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Notice&lt;/b&gt;: &lt;a href="https://code.google.com/p/phantomjs/issues/detail?id=845"&gt;Known issue and workaround&lt;/a&gt; if you have both NVidia and Intel video drivers&lt;br /&gt;
&lt;h2&gt;Recent News&lt;/h2&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-4-code-coverage-is-a-go/"&gt;Chutzpah 2.4  – Code Coverage is a go!&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-3-released/"&gt;Chutzpah 2.3 with the chutzpah.json setting file&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-2-with-typescript-support/"&gt;Chutzpah 2.2 with TypeScript support&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/chutzpah-2-1-now-with-coffeescript-support/"&gt;Chutzpah 2.1 now with CoffeeScript support&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://matthewmanela.com/blog/anatomy-of-the-chutzpah-test-adapter-for-vs-2012-rc/"&gt;Anatomy of the Chutzpah test adapter for VS 2012 RC&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Quick Downloads&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://chutzpah.codeplex.com/releases"&gt;Command Line Runner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/f8741f04-bae4-4900-81c7-7c9bfb9ed1fe"&gt;Visual Studio Test Adapter for Visual Studio 2012&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/71a4e9bd-f660-448f-bd92-f5a65d39b7f0"&gt;Visual Studio Test Runner for 2010 and 2012&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Contents&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="#What do I need to use this?"&gt;What do I need to use this?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#What can Chutzpah do?"&gt;What can Chutzpah do?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=runTests&amp;referringTitle=Home"&gt;How do I use Chutzpah&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=coffeescript&amp;referringTitle=Home"&gt;How can I use it with CoffeeScript&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=sourceCode&amp;referringTitle=Home"&gt;How to build the code&amp;#63;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chutzpah.codeplex.com/wikipage?title=contribute&amp;referringTitle=Home"&gt;How can I contribute to this project&amp;#63;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Requirements  &lt;a name="What do I need to use this?"&gt;&lt;/a&gt;&lt;/h2&gt;General 
&lt;ul&gt;&lt;li&gt;&lt;a href="http://docs.jquery.com/QUnit"&gt;QUnit&lt;/a&gt; or &lt;a href="http://pivotal.github.com/jasmine/"&gt;Jasmine&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Visual Studio integration
&lt;ul&gt;&lt;li&gt;Visual Studio 2010&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Features &lt;a name="What can Chutzpah do?"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3&gt;Runs JavaScript unit tests from the command line&lt;/h3&gt;  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=250733" alt="commandLine.png" title="commandLine.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h3&gt;Run JavaScript unit tests from inside of Visual Studio&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;Right click menu to run tests&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=450829" alt="contextmenu.png" title="contextmenu.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Shows test results in Error window&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=250734" alt="errorWindow.png" title="errorWindow.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Shows test results in Ouput window&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=250735" alt="outputWindow.png" title="outputWindow.png" /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Integrates into VS 2012 Unit Test Explorer&lt;/li&gt;&lt;/ul&gt;
  &lt;img src="http://i3.codeplex.com/Download?ProjectName=chutzpah&amp;DownloadId=405025" alt="UnitTestExplorer.png" title="UnitTestExplorer.png" /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:08:42 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130424040842A</guid></item><item><title>Updated Wiki: Chutzpah.json Settings File</title><link>https://chutzpah.codeplex.com/wikipage?title=Chutzpah.json Settings File&amp;version=3</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Using the Chutzpah.json Settings File&lt;/h1&gt;
The Chutzpah settings file is an .json file that you can place anywhere in your testing directories to inform Chutzpah of test specific settings. The Chuzpah settings file is completely optional and if the file or any of its properties are omitted Chutzpah will use the default values.&lt;br /&gt;&lt;br /&gt;When Chutzpah is run on a file (lets say test.js) it scans the current directory for a file named chutzpah.json. If it does not find one it will recursively traverse up the directory chain looking for one. This behavior provides a lot of flexibility since you can provide multiple chutzpah.json files in your tree and each one will work over its sub-folder. This lets you have different settings for different groups of tests.&lt;br /&gt;&lt;br /&gt;The settings file is a text file with json content of the following format:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
{
    &amp;quot;Framework&amp;quot;: &amp;quot;qunit|jasmine&amp;quot;,
    
    &amp;quot;TestFileTimeout&amp;quot;: &amp;quot;&amp;lt;Timeout in milliseconds&amp;gt;&amp;quot;,
    
    &amp;quot;TestHarnessLocationMode&amp;quot;: &amp;quot;TestFileAdjacent|SettingsFileAdjacent|Custom&amp;quot;,
    
    &amp;quot;TestHarnessDirectory&amp;quot;: &amp;quot;&amp;lt;Path to a folder&amp;gt;&amp;quot;,

    &amp;quot;TypeScriptCodeGenTarget&amp;quot; : &amp;quot;ES3|ES5&amp;quot;,
    
    &amp;quot;RootReferencePathMode&amp;quot;:&amp;quot;DriveRoot|SettingsFileDirectory&amp;quot;,
    
    &amp;quot;CodeCoverageIncludes&amp;quot;: [],
    
    &amp;quot;CodeCoverageExcludes&amp;quot;: []
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The chutzpah.json file supports the following properties&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Framework&lt;/b&gt; – Determines what testing framework to use. This will override the other detection methods. This is helpful if Chutzpah is having trouble figuring out what your intended framework is. If left out Chutzpah will automatically try to detect the framework.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TestFileTimeout&lt;/b&gt; - The time to wait for tests in a file to finish in milliseconds&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TestHarnessLocationMode&lt;/b&gt; – Determines where to place the generated html test harness files. The default mode is &lt;i&gt;TestFileAdjacent&lt;/i&gt; which means the harness is placed in the same directory as the test file. &lt;i&gt;SettingsFileAdjacent&lt;/i&gt; means it is placed in the same directory as the chutzpah.json file. &lt;i&gt;Custom&lt;/i&gt; mode lets you specify a custom path to the directory.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TestHarnessDirectory&lt;/b&gt; – When TestHarnessLocationMode is set to Custom this is either the relative or absolute path to the directory where to place the test harness.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TypeScriptCodeGenTarget&lt;/b&gt; – When running on a TypeScript file this property will tell the TypeScript compiler what type of code to generate. &lt;i&gt;ES3&lt;/i&gt; is for ECMAScript 3 and &lt;i&gt;ES5&lt;/i&gt; is for ECMAScript 5.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;RootReferencePathMode&lt;/b&gt; – This property determines what directory a rooted reference path refers to. In a test file Chutzpah parses the &amp;lt;reference path=&amp;quot;&amp;quot; /&amp;gt; tags to determine your test dependencies. By default  (the &lt;i&gt;DriveRoot&lt;/i&gt; setting) if you write &amp;lt;reference path=&amp;quot;\a.js&amp;quot; /&amp;gt; Chutzpah will look for a.js under C:\ (assuming you are running your test in the C drive). However, if you set this property to &lt;i&gt;SettingsFileDirectory&lt;/i&gt; Chutpah will now look for a.js relative to the location of the chutzpah.json file. This is useful if you have a large project and want to minimize the number of long reference paths.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CodeCoverageIncludes&lt;/b&gt; - The collection code coverage file patterns to include in coverage. These are in glob format. If you specify none all files are included.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CodeCoverageExcludes&lt;/b&gt; - The collection code coverage file patterns to exclude in coverage. These are in glob format. If you specify none no files are excluded.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;This file tells Chutzpah to use QUnit and to place the test harness next to the chutzpah.json file:&lt;br /&gt;&lt;pre&gt;
{
    &amp;quot;Framework&amp;quot;: &amp;quot;qunit&amp;quot;,
    &amp;quot;TestHarnessLocationMode&amp;quot;: &amp;quot;SettingsFileAdjacent&amp;quot;
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This file tells Chutzpah to convert TypeScript to ES5 code and to place the test harness in a custom directory:&lt;br /&gt;&lt;pre&gt;
{
    &amp;quot;TypeScriptCodeGenTarget&amp;quot; : &amp;quot;ES5&amp;quot;,
    &amp;quot;TestHarnessLocationMode&amp;quot;: &amp;quot;Custom&amp;quot;,
    &amp;quot;TestHarnessDirectory&amp;quot;: &amp;quot;../Some/Folder&amp;quot;
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When run with Code Coverage this file tells Chutzpah to exclude files named jquery.js and include files that have a suffix of query.js or are named dogs.js:&lt;br /&gt;&lt;pre&gt;
{
    &amp;quot;CodeCoverageExcludes&amp;quot;: [&amp;quot;*\\jquery.js&amp;quot;],
    &amp;quot;CodeCoverageIncludes&amp;quot;: [&amp;quot;*query.js&amp;quot;, &amp;quot;*\\dog.js&amp;quot;]
} 
&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 24 Apr 2013 04:04:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Chutzpah.json Settings File 20130424040400A</guid></item></channel></rss>