<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>chutzpah Discussions Rss Feed</title><link>http://chutzpah.codeplex.com/discussions</link><description>chutzpah Discussions Rss Description</description><item><title>New Post: Chutzpah Code coverage</title><link>http://chutzpah.codeplex.com/discussions/446528</link><description>&lt;div style="line-height: normal;"&gt;Could you file a work item on the issues page and attach a zip containing a repro of this issue? This way I can investigate and find a solution for your scenario&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Thu, 20 Jun 2013 02:59:06 GMT</pubDate><guid isPermaLink="false">New Post: Chutzpah Code coverage 20130620025906A</guid></item><item><title>New Post: Copy dependent files from VS-plugin</title><link>http://chutzpah.codeplex.com/discussions/446926</link><description>&lt;div style="line-height: normal;"&gt;Could you give me a zip file containing a repro of this issue (or a link to a github repo) so I can investigate this further?&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Thu, 20 Jun 2013 02:56:26 GMT</pubDate><guid isPermaLink="false">New Post: Copy dependent files from VS-plugin 20130620025626A</guid></item><item><title>New Post: Problems Configuring Headless Support (requirejs and amd modules)</title><link>http://chutzpah.codeplex.com/discussions/446556</link><description>&lt;div style="line-height: normal;"&gt;I believe there are currently some issue with using Chutzpah with TypeScript and Require.js.  I plan to make this work better. &lt;br /&gt;
&lt;br /&gt;
It would help me if you could file a work item on the issues page for this scenario and attach a zip which contains a repro of your issue. &lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Thu, 20 Jun 2013 02:53:42 GMT</pubDate><guid isPermaLink="false">New Post: Problems Configuring Headless Support (requirejs and amd modules) 20130620025342A</guid></item><item><title>New Post: Feature request: Cucumber-js support</title><link>http://chutzpah.codeplex.com/discussions/434667</link><description>&lt;div style="line-height: normal;"&gt;@pimterry, I would love to see you contribute this feature since I probably wont have time for a while to get to this.&lt;br /&gt;
&lt;br /&gt;
It should not be hard to add a cucumberRunner. The complicated part is that there are several new classes you will need to add to make it work end to end. You can model this closely after how the qunit runner works in Chutzpah. In addition I have a work in progress for Mocha support in a branch named mocha which also shows some of the files needed to be added (&lt;a href="https://chutzpah.codeplex.com/SourceControl/changeset/8cd8e091e094" rel="nofollow"&gt;https://chutzpah.codeplex.com/SourceControl/changeset/8cd8e091e094&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
In short you will need to add (I may have missed some)...&lt;br /&gt;
&lt;br /&gt;
Chutzpah/FrameworkDefinitions/CucumberDefinition.cs  - Main class which descirbes this framework&lt;br /&gt;
Chutzpah/JSRunners/cucumberRunner.js - js file which tells bridges between chutzpah and phantom and streams test results to chutzpah&lt;br /&gt;
Chutzpah/TestFiles/Mocha/cucumber.css - css for rendering the reuslts&lt;br /&gt;
Chutzpah/TestFiles/Mocha/cucumber.html - The test harness template for cucmber test running&lt;br /&gt;
Chutzpah/TestFiles/Mocha/cucumber.js - the js for running cucumber tests&lt;br /&gt;
Chutzpah/FileProcessors/CucumberLineNumberProcessor.js - This determines how to find what line number a test name is on&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me know if you need any help or have any questions&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Thu, 20 Jun 2013 02:49:55 GMT</pubDate><guid isPermaLink="false">New Post: Feature request: Cucumber-js support 20130620024955A</guid></item><item><title>New Post: Typescript 0.9.0 support</title><link>http://chutzpah.codeplex.com/discussions/447617</link><description>&lt;div style="line-height: normal;"&gt;TypeScript's code base changes a lot so how I integrate with it seems to break each release. I will look into updating to the new version soon. I filed a work item (&lt;a href="https://chutzpah.codeplex.com/workitem/138" rel="nofollow"&gt;https://chutzpah.codeplex.com/workitem/138&lt;/a&gt;) tracking this work.&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Thu, 20 Jun 2013 02:28:08 GMT</pubDate><guid isPermaLink="false">New Post: Typescript 0.9.0 support 20130620022808A</guid></item><item><title>New Post: Typescript 0.9.0 support</title><link>http://chutzpah.codeplex.com/discussions/447617</link><description>&lt;div style="line-height: normal;"&gt;Typescript has been updated, I've tried replacing the script and compiling but it does not work. Any chance we can get an update soon?&lt;br /&gt;
&lt;br /&gt;
Cordially,&lt;br /&gt;
&lt;/div&gt;</description><author>Halzy</author><pubDate>Thu, 20 Jun 2013 00:15:23 GMT</pubDate><guid isPermaLink="false">New Post: Typescript 0.9.0 support 20130620121523A</guid></item><item><title>New Post: Console Runner failing silently </title><link>http://chutzpah.codeplex.com/discussions/447424</link><description>&lt;div style="line-height: normal;"&gt;Depending on the type of error and where it occurs it can cause Chutzpah to fail to find the tests. I can take a deeper look if you file an issue on this site and attach a zip that repros this issue.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Wed, 19 Jun 2013 19:56:17 GMT</pubDate><guid isPermaLink="false">New Post: Console Runner failing silently  20130619075617P</guid></item><item><title>New Post: Console Runner failing silently </title><link>http://chutzpah.codeplex.com/discussions/447424</link><description>&lt;div style="line-height: normal;"&gt;Hey, &lt;br /&gt;
&lt;br /&gt;
Just started to get Chutzpah with require (which was great fun). &lt;br /&gt;
&lt;br /&gt;
The problem I currently have now is that if there is a javascript error it seems to fail without picking any of the tests up. However, when run in debug mode it seems to pick them up in the debug.&lt;br /&gt;
&lt;br /&gt;
Is there any way to solve this problem. Here is the output from my test run. There error is a &amp;quot;&amp;lt;variable&amp;gt; not defined&amp;quot; in one of the js files being tested&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Chutzpah console test runner (64-bit .NET 4.0.30319.18033)
Copyright (C) 2013 Matthew Manela (http://matthewmanela.com).

chutzpah.dll:     Version 2.4.1.266

#_#FileStart#_# {&amp;quot;type&amp;quot;:&amp;quot;FileStart&amp;quot;}
#_#FileDone#_# {&amp;quot;type&amp;quot;:&amp;quot;FileDone&amp;quot;,&amp;quot;timetaken&amp;quot;:21,&amp;quot;passed&amp;quot;:0,&amp;quot;failed&amp;quot;:5}

File: C:\code\origin\Test.Javascript\tests\search.test.js
     0 total, 0 failed, took 0.02 seconds

Tests complete: 0

=== 0 total, 0 failed, took 1.13 seconds ===&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>mjmcloug</author><pubDate>Tue, 18 Jun 2013 13:34:32 GMT</pubDate><guid isPermaLink="false">New Post: Console Runner failing silently  20130618013432P</guid></item><item><title>New Post: Feature request: Cucumber-js support</title><link>http://chutzpah.codeplex.com/discussions/434667</link><description>&lt;div style="line-height: normal;"&gt;I would also be really interested in this - we use specflow with C# and it is great that our nontechnical team members can author scenarios everyone can understand using Gherkin. Its seem like a duplication of effort to have those people learn jasmine &lt;br /&gt;
&lt;/div&gt;</description><author>amdydavo</author><pubDate>Mon, 17 Jun 2013 19:02:35 GMT</pubDate><guid isPermaLink="false">New Post: Feature request: Cucumber-js support 20130617070235P</guid></item><item><title>New Post: Chutzpah Code coverage</title><link>http://chutzpah.codeplex.com/discussions/446528</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I have the same problem. Did you find a solution yet?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Dat&lt;br /&gt;
&lt;/div&gt;</description><author>chualuoi</author><pubDate>Thu, 13 Jun 2013 10:29:09 GMT</pubDate><guid isPermaLink="false">New Post: Chutzpah Code coverage 20130613102909A</guid></item><item><title>New Post: Copy dependent files from VS-plugin</title><link>http://chutzpah.codeplex.com/discussions/446926</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br /&gt;
&lt;br /&gt;
In my beforeEach i load a file from disk using a ajax call i.e.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;   $.ajax({
      url: &amp;quot;OIM.Attestation.Model.Spec.xml&amp;quot;,
      async: false,
      success: function (data)
      {
        template.Initialize(data, oeControllerSpy);
      }
    });
&lt;/code&gt;&lt;/pre&gt;

this is all good when running the tests in the browser.&lt;br /&gt;
but when running from the test explorer they all fails&lt;br /&gt;
i guess this could be because the file needs copied to a temp folder somewhere... or?&lt;br /&gt;
&lt;br /&gt;
any ideas on how to come around this?&lt;br /&gt;
&lt;br /&gt;
Rgds, Lars&lt;br /&gt;
&lt;/div&gt;</description><author>larsmarkussen</author><pubDate>Thu, 13 Jun 2013 09:32:19 GMT</pubDate><guid isPermaLink="false">New Post: Copy dependent files from VS-plugin 20130613093219A</guid></item><item><title>New Post: Problems Configuring Headless Support (requirejs and amd modules)</title><link>http://chutzpah.codeplex.com/discussions/446556</link><description>&lt;div style="line-height: normal;"&gt;I am currently trying to get Unit Tests working for TypeScript (AMD modules) in Visual Studio 2012. I can get the tests working fine when using the browser-based testing with the following JavaScript, which is referred to in my SpecRunner.html:&lt;br /&gt;
&lt;br /&gt;
requirejs.config({&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;baseUrl: &amp;quot;../Client.Web/App&amp;quot;,
urlArgs: &amp;quot;cb=&amp;quot; + Math.random(),
paths: {
    &amp;quot;jquery&amp;quot;: &amp;quot;../../Client.Web.Tests/Scripts/jquery-2.0.1&amp;quot;,
    &amp;quot;jasmine&amp;quot;: &amp;quot;../../Client.Web.Tests/Scripts/jasmine&amp;quot;,
    &amp;quot;jasmine-html&amp;quot;: &amp;quot;../../Client.Web.Tests/Scripts/jasmine-html&amp;quot;,
    &amp;quot;SpecificationFinder&amp;quot;: &amp;quot;../../Client.Web.Tests/Scripts/SpecificationFinder&amp;quot;
},
shim: {
    &amp;quot;jquery&amp;quot;: {
        exports: &amp;quot;$&amp;quot;
    },
    &amp;quot;jasmine&amp;quot;: {
        exports: &amp;quot;jasmine&amp;quot;
    },
    &amp;quot;jasmine-html&amp;quot;: {
        deps: [&amp;quot;jasmine&amp;quot;],
        exports: &amp;quot;jasmine&amp;quot;
    }
}&lt;/code&gt;&lt;/pre&gt;

});&lt;br /&gt;
&lt;br /&gt;
require([&amp;quot;jquery&amp;quot;, &amp;quot;jasmine-html&amp;quot;, &amp;quot;SpecificationFinder&amp;quot;], function ($, jasmine, SpecificationFinder) {&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;$(document).ready(function () {
    var jasmineEnv = jasmine.getEnv();
    jasmineEnv.updateInterval = 1000;

    var htmlReporter = new jasmine.HtmlReporter();
    jasmineEnv.addReporter(htmlReporter);

    jasmineEnv.specFilter = function (spec) {
        return htmlReporter.specFilter(spec);
    };

    var specs = SpecificationFinder.SpecificationFinder.GetTestFixtures();

    $(function () {
        require(specs, function () {
            jasmineEnv.execute();
        });
    });
});&lt;/code&gt;&lt;/pre&gt;

});&lt;br /&gt;
&lt;br /&gt;
However, when I run this via Visual Studio's Test Explorer this code is never executed and as a result the call to require in my test fixture fails as soon as require is invoked.&lt;br /&gt;
&lt;br /&gt;
Has anyone got an example of how to use requirejs, jasmine with TypeScript amd modules?&lt;br /&gt;
&lt;/div&gt;</description><author>Scaramanga77</author><pubDate>Mon, 10 Jun 2013 12:44:26 GMT</pubDate><guid isPermaLink="false">New Post: Problems Configuring Headless Support (requirejs and amd modules) 20130610124426P</guid></item><item><title>New Post: js testfile with reference path to a directory?</title><link>http://chutzpah.codeplex.com/discussions/446547</link><description>&lt;div style="line-height: normal;"&gt;Sorry it worked fine. I chose open in browser and could see all the references.&lt;br /&gt;
&lt;/div&gt;</description><author>polyzois</author><pubDate>Mon, 10 Jun 2013 11:59:52 GMT</pubDate><guid isPermaLink="false">New Post: js testfile with reference path to a directory? 20130610115952A</guid></item><item><title>New Post: js testfile with reference path to a directory?</title><link>http://chutzpah.codeplex.com/discussions/446547</link><description>&lt;div style="line-height: normal;"&gt;Hi!&lt;br /&gt;
I have been looking (unsuccesfully) for a way to add a direcotry with js files to the js testfile&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;///     &amp;lt;reference path=&amp;quot;&amp;lt;My Directory Here&amp;gt;&amp;quot;/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

Is this possible or is there some other way to accomplish this? Maybe the 2012 _references.js?&lt;br /&gt;
&lt;/div&gt;</description><author>polyzois</author><pubDate>Mon, 10 Jun 2013 11:24:20 GMT</pubDate><guid isPermaLink="false">New Post: js testfile with reference path to a directory? 20130610112420A</guid></item><item><title>New Post: Chutzpah Code coverage</title><link>http://chutzpah.codeplex.com/discussions/446528</link><description>&lt;div style="line-height: normal;"&gt;hi all.&lt;br /&gt;
I am using chutzpah to get code coverage for my WWA host UI automation  JS tests but I am getting Timeout Exception. is this a know issue? do we have any work around for that? &lt;br /&gt;
&lt;/div&gt;</description><author>sapnaJindal</author><pubDate>Mon, 10 Jun 2013 07:30:52 GMT</pubDate><guid isPermaLink="false">New Post: Chutzpah Code coverage 20130610073052A</guid></item><item><title>New Post: Feature request: Cucumber-js support</title><link>http://chutzpah.codeplex.com/discussions/434667</link><description>&lt;div style="line-height: normal;"&gt;I'd also be interested in this, and in actually contributing this myself if it doesn't turn out to be a huge job :-).&lt;br /&gt;
&lt;br /&gt;
Currently I've nearly got Cucumber-JS set up locally to run standalone in a browser and run my tests there, which I think is all that'll be needed on that side. Unfortunately this means my team will have to keep refreshing this page in the background to actually run their tests, and we can't run these in CI, both of which are quite annoying.&lt;br /&gt;
&lt;br /&gt;
I think to fix all of this all I need to do is create a cucumberRunner.js in Chutzpah/JSRunners and then tie it in to the rest of Chutzpah somehow. Could you give me some kind of idea what else actually needs doing, and what cucumberRunner.js would need to do from Chutzpah's end? Any pointers would be great :D&lt;br /&gt;
&lt;/div&gt;</description><author>pimterry</author><pubDate>Thu, 06 Jun 2013 12:38:37 GMT</pubDate><guid isPermaLink="false">New Post: Feature request: Cucumber-js support 20130606123837P</guid></item><item><title>New Post: Javascript Unit Tests on Team Foundation Service with Chutzpah</title><link>http://chutzpah.codeplex.com/discussions/400818</link><description>&lt;div style="line-height: normal;"&gt;When I tried to edit an build definition, I got following errors in the output window. It seems that Chutzpah is referencing assemblies from VS 2010, not VS 2012.&lt;br /&gt;
&lt;br /&gt;
Summary: There were 0 failures, 4 errors and 1 warnings loading custom activities and services.&lt;br /&gt;
Error: Could not load file or assembly &lt;strong&gt;'Microsoft.VisualStudio.Shell.10.0, Version=10.0.0.0&lt;/strong&gt;, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;
Error: Could not load file or assembly 'file:///C:\Users\xxxxxx\AppData\Local\Temp\VSTFSBuild\3d8d2dd3-7675-4b14-a758-b34826a2c5dc\76770201\Microsoft.VisualStudio.Shell.10.0.dll' or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;
Error: Method 'ToXml' in type 'Chutzpah.VS2012.TestAdapter.ChutzpahAdapterSettings' from assembly 'Chutzpah.VS2012.TestAdapter, Version=2.4.1.266, Culture=neutral, PublicKeyToken=1ca802c37ffe1896' does not have an implementation.&lt;br /&gt;
Error: API restriction: The assembly 'file:///C:\Users\xxxxxx\AppData\Local\Temp\VSTFSBuild\3d8d2dd3-7675-4b14-a758-b34826a2c5dc\76770201\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.&lt;br /&gt;
Warning: Could not load file or assembly 'file:///C:\Users\xxxxxx\AppData\Local\Temp\VSTFSBuild\3d8d2dd3-7675-4b14-a758-b34826a2c5dc\76770201\phantomjs.exe' or one of its dependencies. The module was expected to contain an assembly manifest.&lt;br /&gt;
Summary: There were 0 failures, 4 errors and 1 warnings loading custom activities and services.&lt;br /&gt;
Error: Could not load file or assembly &lt;strong&gt;'Microsoft.VisualStudio.Shell.10.0, Version=10.0.0.0&lt;/strong&gt;, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;
Error: Could not load file or assembly 'file:///C:\Users\xxxxxx\AppData\Local\Temp\VSTFSBuild\cbce9143-7133-45af-a385-0c25ab072cef\76770201\Microsoft.VisualStudio.Shell.10.0.dll' or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;
Error: Method 'ToXml' in type 'Chutzpah.VS2012.TestAdapter.ChutzpahAdapterSettings' from assembly 'Chutzpah.VS2012.TestAdapter, Version=2.4.1.266, Culture=neutral, PublicKeyToken=1ca802c37ffe1896' does not have an implementation.&lt;br /&gt;
Error: API restriction: The assembly 'file:///C:\Users\xxxxxx\AppData\Local\Temp\VSTFSBuild\cbce9143-7133-45af-a385-0c25ab072cef\76770201\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.&lt;br /&gt;
Warning: Could not load file or assembly 'file:///C:\Users\xxxxxx\AppData\Local\Temp\VSTFSBuild\cbce9143-7133-45af-a385-0c25ab072cef\76770201\phantomjs.exe' or one of its dependencies. The module was expected to contain an assembly manifest.&lt;br /&gt;
&lt;/div&gt;</description><author>jimsleon</author><pubDate>Tue, 04 Jun 2013 05:43:01 GMT</pubDate><guid isPermaLink="false">New Post: Javascript Unit Tests on Team Foundation Service with Chutzpah 20130604054301A</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;Could you file an issue on the work item tracker with this information so I can better track the progress to solving this issue?&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Tue, 04 Jun 2013 03:17:09 GMT</pubDate><guid isPermaLink="false">New Post: Code Coverage for AMD Modules 20130604031709A</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;test target - &lt;a href="https://bitbucket.org/rasane/chutzpahamdcoveragetest/src/a1f986551277a37fe56cb00a3913482477728bec/ChutzpahTest/Scripts/testTarget.js?at=master" rel="nofollow"&gt;https://bitbucket.org/rasane/chutzpahamdcoveragetest/src/a1f986551277a37fe56cb00a3913482477728bec/ChutzpahTest/Scripts/testTarget.js?at=master&lt;/a&gt; has 2 dependencies..&lt;br /&gt;
the test &lt;a href="https://bitbucket.org/rasane/chutzpahamdcoveragetest/src/a1f986551277a37fe56cb00a3913482477728bec/ChutzpahTest/tests/AMDTests.js?at=master" rel="nofollow"&gt;https://bitbucket.org/rasane/chutzpahamdcoveragetest/src/a1f986551277a37fe56cb00a3913482477728bec/ChutzpahTest/tests/AMDTests.js?at=master&lt;/a&gt; is trying to mock those dependencies (hurp, durp)..&lt;br /&gt;
&lt;br /&gt;
this is completely adapted from a answer here: &lt;a href="http://stackoverflow.com/questions/11439540/how-can-i-mock-dependencies-for-unit-testing-in-requirejs" rel="nofollow"&gt;http://stackoverflow.com/questions/11439540/how-can-i-mock-dependencies-for-unit-testing-in-requirejs&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
does that context help?&lt;br /&gt;
&lt;br /&gt;
Thanks again..&lt;br /&gt;
&lt;/div&gt;</description><author>rasane</author><pubDate>Sun, 02 Jun 2013 09:04:56 GMT</pubDate><guid isPermaLink="false">New Post: Code Coverage for AMD Modules 20130602090456A</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;I don't fully understand what you are trying to do in your code. If you can describe it in more detail I could better give my opinion.&lt;br /&gt;
&lt;/div&gt;</description><author>mmanela</author><pubDate>Tue, 28 May 2013 17:16:17 GMT</pubDate><guid isPermaLink="false">New Post: Code Coverage for AMD Modules 20130528051617P</guid></item></channel></rss>