<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Chutzpah - A JavaScript Test Runner</title><link>http://chutzpah.codeplex.com/project/feeds/rss</link><description>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.</description><item><title>New Post: Coverage report filename</title><link>http://chutzpah.codeplex.com/discussions/444847</link><description>&lt;div style="line-height: normal;"&gt;Sure, I will look into adding this for a future release. I can add it to both places for more flexibility. Would you mind filing an work item on the issues page with this suggestion. This way I can track it better and let you know when its done.&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Fri, 24 May 2013 15:08:35 GMT</pubDate><guid isPermaLink="false">New Post: Coverage report filename 20130524030835P</guid></item><item><title>New Post: Code Coverage for AMD Modules</title><link>http://chutzpah.codeplex.com/discussions/444887</link><description>&lt;div style="line-height: normal;"&gt;This is currently a limitation of Chutzpah where it doesn't run code coverage on the html file. There are also known issues with running AMD using the .js file.&lt;br /&gt;
&lt;br /&gt;
I plan to work on making AMD work better for the .js files and for an overall more robust solution I plan to add the ability to define HTML templates. The way this will work is you will not use your own HTML file but create an HTML template which Chutzpah will instantiate and use. This should give you the flexibility to configure your AMD code fully and till get the benefits of running on a .js file and get code coverage.&lt;br /&gt;
&lt;br /&gt;
I plan to add this feature for the next major release. Does that make sense?&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Fri, 24 May 2013 15:07:14 GMT</pubDate><guid isPermaLink="false">New Post: Code Coverage for AMD Modules 20130524030714P</guid></item><item><title>New Post: Code Coverage for AMD Modules</title><link>http://chutzpah.codeplex.com/discussions/444887</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I have trouble getting Chutzpah report code coverage for 'require.js' AMD modules..&lt;br /&gt;
&lt;br /&gt;
To demonstrate the problem here is a simple test project:  &lt;a href="https://bitbucket.org/rasane/chutzpahamdcoveragetest/" rel="nofollow"&gt;https://bitbucket.org/rasane/chutzpahamdcoveragetest/&lt;/a&gt; and help..&lt;br /&gt;
&lt;br /&gt;
I can: run the command, from the tests folder:&lt;br /&gt;
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe AMDTests.html /coverage&lt;br /&gt;
and get success/failure of tests.. but i cannot get coverage reports..&lt;br /&gt;
&lt;br /&gt;
IF I try using the js file to get coverage, it reports an error..&lt;br /&gt;
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe AMDTests.js /coverage&lt;br /&gt;
reported error: &lt;br /&gt;
JS Error: Timeout occured when executing test file&lt;br /&gt;
&lt;br /&gt;
But If I try a non AMD Module in the solution, it works&lt;br /&gt;
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe nonAMDSample.js /coverage&lt;br /&gt;
&lt;br /&gt;
Tests complete: 1&lt;br /&gt;
Code Coverage Results     Average Coverage: 100%&lt;br /&gt;
&lt;pre&gt;&lt;code&gt; 100% for C:\Temp\deleteme\vs2012\testRest\Chutz
&lt;/code&gt;&lt;/pre&gt;

I would like the html to report a similar report or the js file with AMD module in it, to report coverage..&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
Thanks for your time...&lt;br /&gt;
rasane&lt;br /&gt;
&lt;/div&gt;</description><author>rasane</author><pubDate>Fri, 24 May 2013 13:52:27 GMT</pubDate><guid isPermaLink="false">New Post: Code Coverage for AMD Modules 20130524015227P</guid></item><item><title>New Post: Coverage report filename</title><link>http://chutzpah.codeplex.com/discussions/444847</link><description>&lt;div style="line-height: normal;"&gt;Being able to set the output folder would be good, being able to set both the output folder &lt;em&gt;and&lt;/em&gt; the output filename would be better :)&lt;br /&gt;
&lt;br /&gt;
Personally I'd prefer it (or them) set via the command line switches as my build uses nAnt so I don't rely on a .json config file but having the option any way would be good, having it both ways would be better :)&lt;br /&gt;
&lt;/div&gt;</description><author>andyd70</author><pubDate>Fri, 24 May 2013 13:43:22 GMT</pubDate><guid isPermaLink="false">New Post: Coverage report filename 20130524014322P</guid></item><item><title>New Post: Coverage report filename</title><link>http://chutzpah.codeplex.com/discussions/444847</link><description>&lt;div style="line-height: normal;"&gt;That is a good suggestion and I will look to add it in a future release. &lt;br /&gt;
&lt;br /&gt;
Would it work if I let you set the CoverageOutputFolder in the chutzpah.json file?&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Fri, 24 May 2013 13:29:02 GMT</pubDate><guid isPermaLink="false">New Post: Coverage report filename 20130524012902P</guid></item><item><title>Commented Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127]</title><link>http://chutzpah.codeplex.com/workitem/127</link><description>Is there any How tos &amp;#63;&lt;br /&gt;I have tried all bunch of combinations but none of them work.&lt;br /&gt;The tests are running way too early before the async modules have even been loaded.&lt;br /&gt;&lt;br /&gt;Without AMD you can&amp;#39;t test Durandal or other modules that are loaded with RequireJS.&lt;br /&gt;Comments: Thanks for reporting this. I will look deeper into seeing how to make Chutzpah wait. &amp;#10;It would help if you could provide me with a zip repro of your issue so I can roll it into the integration test suite</description><author>mmanela</author><pubDate>Fri, 24 May 2013 13:21:10 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127] 20130524012110P</guid></item><item><title>New Post: Would love to see that write up on RequireJs running in Chutzpah for VS2012</title><link>http://chutzpah.codeplex.com/discussions/404618</link><description>&lt;div style="line-height: normal;"&gt;I still can't this working. &lt;br /&gt;
VS2012/Chutzpah will still not discover my tests if they are in a define/require statements.&lt;br /&gt;
It seems that requireJS will not even try to download the scripts from visual studio for some reason.&lt;br /&gt;
&lt;/div&gt;</description><author>DotNetWise</author><pubDate>Fri, 24 May 2013 11:47:49 GMT</pubDate><guid isPermaLink="false">New Post: Would love to see that write up on RequireJs running in Chutzpah for VS2012 20130524114749A</guid></item><item><title>Commented Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127]</title><link>http://chutzpah.codeplex.com/workitem/127</link><description>Is there any How tos &amp;#63;&lt;br /&gt;I have tried all bunch of combinations but none of them work.&lt;br /&gt;The tests are running way too early before the async modules have even been loaded.&lt;br /&gt;&lt;br /&gt;Without AMD you can&amp;#39;t test Durandal or other modules that are loaded with RequireJS.&lt;br /&gt;Comments: Yes, been there, checked that.&amp;#10;&amp;#10;There is no way of getting it working really.&amp;#10;If you do &amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;define&amp;#40;&amp;#34;someting&amp;#34;, &amp;#91;&amp;#34;module&amp;#34;&amp;#93;, function&amp;#40;module&amp;#41; &amp;#123;&amp;#10;   test&amp;#40;&amp;#34;abcd&amp;#34;, function&amp;#40;&amp;#41; &amp;#123;&amp;#10;   &amp;#125;&amp;#41;&amp;#59;&amp;#10;&amp;#125;&amp;#41;&amp;#59;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;The test is not even &amp;#34;discoverable&amp;#34; on test explorer.&amp;#10;&amp;#10;If you do&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;asyncTest&amp;#40;&amp;#34;abcd&amp;#34;, 1, function &amp;#40;&amp;#41; &amp;#123;&amp;#10;&amp;#9;setTimeout&amp;#40;function &amp;#40;&amp;#41; &amp;#123;&amp;#10;&amp;#9;&amp;#9;QUnit.start&amp;#40;&amp;#41;&amp;#59;&amp;#10;&amp;#9;&amp;#9;ok&amp;#40;true, &amp;#34;always fine&amp;#34;&amp;#41;&amp;#59;&amp;#10;&amp;#9;&amp;#125;, 10&amp;#41;&amp;#59;&amp;#10;&amp;#125;&amp;#41;&amp;#59;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;Then the test is both descoverable in test explorer and passes&amp;#33;&amp;#10;&amp;#10;However if you do &amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;asyncTest&amp;#40;&amp;#34;abcd&amp;#34;, 1, function &amp;#40;&amp;#41; &amp;#123;&amp;#10;&amp;#9;require&amp;#40;&amp;#91;&amp;#34;config&amp;#34;&amp;#93;, function &amp;#40;register&amp;#41; &amp;#123;&amp;#10;&amp;#9;&amp;#9;QUnit.start&amp;#40;&amp;#41;&amp;#59;&amp;#10;&amp;#9;&amp;#9;ok&amp;#40;true, &amp;#34;always fine&amp;#34;&amp;#41;&amp;#59;&amp;#10;&amp;#9;&amp;#125;&amp;#41;&amp;#59;&amp;#10;&amp;#125;&amp;#41;&amp;#59;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;The test will be discoverable but will simply timeout&amp;#33; &amp;#58;&amp;#40;&amp;#10;&amp;#10;I think the problem in any case is that chutzpah is really not aware of requirejs in any way.&amp;#10;It should detect when this is loaded and react accordingly e.g. wait for the module to be loaded and then executed.</description><author>DotNetWise</author><pubDate>Fri, 24 May 2013 10:14:42 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127] 20130524101442A</guid></item><item><title>New Post: Coverage report filename</title><link>http://chutzpah.codeplex.com/discussions/444847</link><description>&lt;div style="line-height: normal;"&gt;Currently (v2.4.1.266) writes the coverage report files to the current directory.&lt;br /&gt;
&lt;br /&gt;
Would it be possible to give either a fully-qualified or partial path (and filename) to dictate where these files are written?&lt;br /&gt;
&lt;/div&gt;</description><author>andyd70</author><pubDate>Fri, 24 May 2013 07:51:35 GMT</pubDate><guid isPermaLink="false">New Post: Coverage report filename 20130524075135A</guid></item><item><title>Commented Unassigned: Support AMD loading using TypeScript [122]</title><link>http://chutzpah.codeplex.com/workitem/122</link><description>Support AMD loading &amp;#40;like with Require.js&amp;#41; using TypeScript&lt;br /&gt;Comments: Currently AMD loading with TypeScript probably isn&amp;#39;t possible with Chutzpah since it doesn&amp;#39;t compile TypeScript in AMD mode. I had initially added that support but I ran into other issues with the output TypeScript generated. &amp;#10;&amp;#10;I will revisit this support in a future release.</description><author>mmanela</author><pubDate>Fri, 24 May 2013 02:57:25 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: Support AMD loading using TypeScript [122] 20130524025725A</guid></item><item><title>Commented Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127]</title><link>http://chutzpah.codeplex.com/workitem/127</link><description>Is there any How tos &amp;#63;&lt;br /&gt;I have tried all bunch of combinations but none of them work.&lt;br /&gt;The tests are running way too early before the async modules have even been loaded.&lt;br /&gt;&lt;br /&gt;Without AMD you can&amp;#39;t test Durandal or other modules that are loaded with RequireJS.&lt;br /&gt;Comments: Did you see the discussion in this thread&amp;#58; https&amp;#58;&amp;#47;&amp;#47;chutzpah.codeplex.com&amp;#47;discussions&amp;#47;404618&amp;#10;&amp;#10;In short the newer versions of Require.js don&amp;#39;t play as nice with qunit but that thread contains a work around. &amp;#10;&amp;#10;Let me know if that helps.</description><author>mmanela</author><pubDate>Fri, 24 May 2013 02:54:10 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127] 20130524025410A</guid></item><item><title>Created Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127]</title><link>http://chutzpah.codeplex.com/workitem/127</link><description>Is there any How tos &amp;#63;&lt;br /&gt;I have tried all bunch of combinations but none of them work.&lt;br /&gt;The tests are running way too early before the async modules have even been loaded.&lt;br /&gt;&lt;br /&gt;Without AMD you can&amp;#39;t test Durandal or other modules that are loaded with RequireJS.&lt;br /&gt;</description><author>DotNetWise</author><pubDate>Thu, 23 May 2013 16:07:36 GMT</pubDate><guid isPermaLink="false">Created Unassigned: I can't seem to test any AMD (RequireJS) modules with QUnit [127] 20130523040736P</guid></item><item><title>Commented Unassigned: Support AMD loading using TypeScript [122]</title><link>http://chutzpah.codeplex.com/workitem/122</link><description>Support AMD loading &amp;#40;like with Require.js&amp;#41; using TypeScript&lt;br /&gt;Comments: I can&amp;#39;t seem to get AMD working outside TypeScript either</description><author>DotNetWise</author><pubDate>Thu, 23 May 2013 15:45:11 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: Support AMD loading using TypeScript [122] 20130523034511P</guid></item><item><title>Commented Unassigned: Chutzpah.json is ignored by both test runner / unit test adapter [126]</title><link>http://chutzpah.codeplex.com/workitem/126</link><description>For some strange reason Chutzpah.json doesn&amp;#39;t seem to be loaded&amp;#47;parsed at all&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#34;RootReferencePathMode&amp;#34;&amp;#58;&amp;#34;SettingsFileDirectory&amp;#34;,&lt;br /&gt;    &amp;#34;TestFileTimeout&amp;#34;&amp;#58; &amp;#34;1&amp;#34;,&lt;br /&gt;    &amp;#34;CodeCoverageIncludes&amp;#34;&amp;#58; &amp;#91;&amp;#93;,&lt;br /&gt;    &amp;#34;CodeCoverageExcludes&amp;#34;&amp;#58; &amp;#91;&amp;#34;jquery-2.0.0.js&amp;#34;&amp;#93;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;I have tried a lot of options but none worked to exclude jquery from code coverage&lt;br /&gt;Also SettingsFileDirectory is not picked up at all and you can&amp;#39;t define it in Tools-&amp;#62;Options of VS2012&lt;br /&gt;Comments: Could you please provide me a sample zip which contains a repro of your issue&amp;#63; This way I can effectively validate your issue and either figure out what is wrong and&amp;#47;or fix a possible bug in chutzpah</description><author>mmanela</author><pubDate>Thu, 23 May 2013 15:35:18 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: Chutzpah.json is ignored by both test runner / unit test adapter [126] 20130523033518P</guid></item><item><title>Created Unassigned: Chutzpah.json is ignored by both test runner / unit test adapter [126]</title><link>http://chutzpah.codeplex.com/workitem/126</link><description>For some strange reason Chutzpah.json doesn&amp;#39;t seem to be loaded&amp;#47;parsed at all&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#34;RootReferencePathMode&amp;#34;&amp;#58;&amp;#34;SettingsFileDirectory&amp;#34;,&lt;br /&gt;    &amp;#34;TestFileTimeout&amp;#34;&amp;#58; &amp;#34;1&amp;#34;,&lt;br /&gt;    &amp;#34;CodeCoverageIncludes&amp;#34;&amp;#58; &amp;#91;&amp;#93;,&lt;br /&gt;    &amp;#34;CodeCoverageExcludes&amp;#34;&amp;#58; &amp;#91;&amp;#34;jquery-2.0.0.js&amp;#34;&amp;#93;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;I have tried a lot of options but none worked to exclude jquery from code coverage&lt;br /&gt;Also SettingsFileDirectory is not picked up at all and you can&amp;#39;t define it in Tools-&amp;#62;Options of VS2012&lt;br /&gt;</description><author>DotNetWise</author><pubDate>Thu, 23 May 2013 15:04:03 GMT</pubDate><guid isPermaLink="false">Created Unassigned: Chutzpah.json is ignored by both test runner / unit test adapter [126] 20130523030403P</guid></item><item><title>New Post: TFS 2012 build server error</title><link>http://chutzpah.codeplex.com/discussions/444446</link><description>&lt;div style="line-height: normal;"&gt;user error! did not include new Chutzpah files into source control, only the changed ones.&lt;br /&gt;
&lt;br /&gt;
My apologies.&lt;br /&gt;
&lt;/div&gt;</description><author>qoolqat</author><pubDate>Thu, 23 May 2013 14:29:27 GMT</pubDate><guid isPermaLink="false">New Post: TFS 2012 build server error 20130523022927P</guid></item><item><title>New Post: TFS 2012 build server error</title><link>http://chutzpah.codeplex.com/discussions/444446</link><description>&lt;div style="line-height: normal;"&gt;So the build server works (moof.spec.js passes) when I roll the Chutzpah version back to 2.3. I guess I can just leave it there for now.&lt;br /&gt;
&lt;/div&gt;</description><author>qoolqat</author><pubDate>Thu, 23 May 2013 13:53:54 GMT</pubDate><guid isPermaLink="false">New Post: TFS 2012 build server error 20130523015354P</guid></item><item><title>New Post: TeamCity Integration Example</title><link>http://chutzpah.codeplex.com/discussions/297671</link><description>&lt;div style="line-height: normal;"&gt;Thanks, jrummell, I studied that famous link quite a bit.  Do you remember what kind of package you had that linked to Chutzpah? It seems Chutzpah only lives in the top level packages.config, and the VS package restore via CI (msbuild) doesn't restore that package.  Visual Studio's package manager only lets me uninstall the package; no manage option. I believe this is why the solution build itself won't update it... because it doesn't find it in any project packages.config.&lt;br /&gt;
&lt;br /&gt;
I am working around it by using a separate TeamCity build step (a Nuget Install runner) which DOES update chutzpah. This wastes build time because it's trying to update twice... once from the solution and then once in this step. I hope to continue to get support here and work through the issue so I can have it build with the solution itself.&lt;br /&gt;
&lt;br /&gt;
And by VSS I didn't mean Visual Source Safe :). I mean source code control (generic).  We are using SVN and moving to GIT in the next year.&lt;br /&gt;
&lt;/div&gt;</description><author>jmwolfe1008</author><pubDate>Wed, 22 May 2013 15:14:18 GMT</pubDate><guid isPermaLink="false">New Post: TeamCity Integration Example 20130522031418P</guid></item><item><title>New Post: TeamCity Integration Example</title><link>http://chutzpah.codeplex.com/discussions/297671</link><description>&lt;div style="line-height: normal;"&gt;I enabled package restore on build, and then referenced the executable in the packages directory. See &lt;a href="http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages" rel="nofollow"&gt;Using NuGet without committing packages to source control&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And for crying out loud, &lt;a href="http://www.codinghorror.com/blog/2006/08/source-control-anything-but-sourcesafe.html" rel="nofollow"&gt;why are you still using VSS&lt;/a&gt;? If you care about your code, try SVN, Git, Mercurial, TFS, etc :)&lt;br /&gt;
&lt;/div&gt;</description><author>jrummell</author><pubDate>Wed, 22 May 2013 14:16:04 GMT</pubDate><guid isPermaLink="false">New Post: TeamCity Integration Example 20130522021604P</guid></item><item><title>New Post: TFS 2012 build server error</title><link>http://chutzpah.codeplex.com/discussions/444446</link><description>&lt;div style="line-height: normal;"&gt;I can't send a .zip, because I don't have access to the build machine, and it doesn't happen on my machine. Based on the error, it's happening when &amp;quot;moof.spec.js&amp;quot; is run, but as indicated above, &amp;quot;moof.spec.js&amp;quot; doesn't reference any other files... it just checks for a string ('moof') not to be null. So I was wondering if there might be some other file that Chutzpah needs in the build environment as a matter of it's normal course that it's not got?&lt;br /&gt;
&lt;br /&gt;
Since it only recently started happening, I was wondering if it had to do with code coverage... since we wouldn't want to be popping up browsers with results on the build machine... but the .json settings file doesn't seem to have a switch for turning it off (I don't currently use a chutzpah.json settings file).&lt;br /&gt;
&lt;/div&gt;</description><author>qoolqat</author><pubDate>Wed, 22 May 2013 12:23:31 GMT</pubDate><guid isPermaLink="false">New Post: TFS 2012 build server error 20130522122331P</guid></item></channel></rss>