Chutzpah 1.3.0 Released

A new version of Chutzpah is now live on Visual Studio Gallery, CodePlex and now NuGet.

This release contains the following changes:

Features

1. Chutzpah is now able to run Jasmine tests in addition to QUnit. This was a large feature and new Chutzpah contributor Ben (Qube) did an amazing job with it.

2. Added a new configuration option to set the timeout on a test file. By default this value is 3000ms but there are many cases when you may have long running tests where you need this to be longer. You can now set this timeout from the command line:

chutzpah.console.exe /timeoutMilliseconds 5000 mytest.js

You can also set this inside of Visual Studio using the newly added options menu. You can find this menu under Tools->Options->Chutzpah.

image

 

Bug Fixes

1. Chutzpah now copies over the text fixtures that you set in your html test harness.

2. Added missing doctype on the generated test harness.

3. Fixed bug where multiple references to qunit.js were copied into the generated test harness.

This entry was posted in Chutzpah, Codeplex, NuGet, Open Source, Testing, Visual Studio Gallery. Bookmark the permalink.

7 Responses to Chutzpah 1.3.0 Released

  1. Pingback: The Morning Brew - Chris Alcock » The Morning Brew #985

  2. Daniel15 says:

    I’ve found a few issues with the Jasmine support when using it along with Jasmine-species. I’ll raise an issue on CodePlex.

  3. Matthew says:

    Thanks Dan,

    I followed up on the Chutzpah CodePlex page.

  4. AbraaoAlves says:

    I have unitTests with jasmine-jquery and my fixturePath defined.
    When run Chutzpah, my fixture.html file aren’t copied to temp folder, this a bug ?

    • Matthew says:

      The way Chutzpah currently works, it won’t copy over your test fixture. It will copy over relevant content from the existing fixture and create a new one.

      Does this behavior cause an issue for you? What logic is in your fixture HTML that isn’t present in the one Chutzpah creates?

      Thanks,
      -Matt

      • I have this code:


        describe("plugin tests ", function() {

        jasmine.getFixtures().fixturesPath = "fixtures";

        beforeEach(function () {
        //I using jasmine-jquery
        loadFixtures("myfixture.html");
        ...

        And my structure directory:
        Scripts -> Test -> fixtures -> myfixture.html
        Scripts -> Test -> myplugin.test.js

        When Chutzpah run jasmine-jquery try request myfixture.html, but it don’t is there because no was copy to temp folder.

        How solution this ?
        How using chutzpah with fixtures in my tests ?

  5. Matthew says:

    Chutzpah currently doesn’t support this. Chutzpah needs to know which files to copy, it does this by either scanning your current test harness for its references or scanning the “///

    It will not copy subfolders though. It flattens the tree. You could try to reference it using the “///

    Thanks,
    -Matt

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>