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
New York City Standup Blogging Part 1

And we’re only a few days behind! We’ll start it out with some helps on browser integration tests (everyone’s favorite topic).

Helps

“jQuery drag and drop browser integration test?”

There is a
drag_to
method which may be useful.

“jQuery file uploader bowser integration test?”

The jQuery file uploader seems to be so clever that a Pivot was having trouble testing it with Selenium. Suggestions?

Interesting Things

“will_not_paginate”

Kamanari is a new awesome-er pagination doohickey for Rails 3. Apparently it is making developers’ lives more awesome especially in regards to Ajax-y type things. Check it out!

“HTML is the new assembly”

Knowlesdog mentioned Slim as your new Haml alternative. For some reasons why it’s awesome, check out the github page linked above.

Comments
  1. David Goudreau says:

    For the jQuery file upload test in Selenium, you might have to run Firefox in ‘*chrome’ mode and hover on a hidden DOM element in the page that the jQuery plugin puts in the page, then put the file path into the input field and click ‘Upload’ to trigger the upload functionality in the plugin. I ran into this 6 months or so ago – it’s a pain but it’s doable.

  2. Steve Conover says:

    “jQuery drag and drop browser integration test?”

    “The jQuery file uploader seems to be so clever that a Pivot was having trouble testing it with Selenium. Suggestions?”

    I suppose this is out of bounds, but anyway: you could just not test these things. If days are spent on solving difficult last-mile integration testing problems, if those tests are strange, brittle or hard to maintain, or if they contribute to making a long feedback cycle even worse, how do you justify creating them?

Post a Comment

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

* Copy This Password *

* Type Or Paste Password Here *