Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 06/26/2009: Poor ScrewUnit…
  • JQuery Events/live + ScrewUnit = :-(. ScrewUnit swaps the DOM “out from under” the elements that Events/live is watching, which messes with ScrewUnit. Call die on the DOM elements that live events are watching.

  • ScrewUnit + CI + IE = :’-( Also, When ScrewUnit suites become large, they trigger IE’s “slow script” warning, which can freeze your continuous integration build. Check out the Registry Hack to set your own timeout.

  • We have a fan of Thor in the house: “Map options to a class. Simply create a class with the appropriate annotations, and have options automatically map to functions and parameters.” Which, as is (not) obvious, indicates that Thor is a replacement for rake.

Comments
  1. Jack Dempsey says:

    “Which, as is obvious, indicates that Thor is a replacement for rake.”

    While Thor can definitely be used as a replacement for Rake, its also very useful for standalone scripting. You can use its option parsing abilities and run scripts on their own. I utilize a lot of these abilities in a little project I’ve been working on called beet, a project generation tool (similar to Rails templates):

    http://jackdempsey.github.com/beet/

  2. Matthew O'Connor says:

    It’s not at all obvious that Thor is a replacement for rake! At least not from your description, it’s a bit more suggestive though once you see the sample code on github.

  3. TJ Holowaychuk says:

    Thor sucks IMO. Check out http://visionmedia.github.com/commander/

  4. Steve Conover says:

    Guess it depends on what you’re using it for. We like it because we get classes and methods, and we can invoke either via regular object instantiation + method call, or from the command line.

  5. Joe Moore says:

    Sarcasm FAIL! Sorry for the confusion. Thor was described to me as a replacement for rake, while the actual description was very confusing to me.

  6. Kristian Hanekamp says:

    To prevent Screw.Unit and jquery Live Events from clashing I use the following “after” function:

    after(function(){
    // remove all jquery live events
    $(“*”).die();
    });

  7. Kristian Hanekamp says:

    Let me try this again, hoping for better formatting:

    To prevent Screw.Unit and jquery Live Events from clashing I use the following “after” function:

    after(function(){
    // remove all jquery live events
    $(“*”).die();
    });

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *