Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Tools
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Monthly Archives: October 2011

Sean Beckett

New Tech Talk: Business Intelligence for Engineers

Sean Beckett
Monday, October 31, 2011

The analysts and engineers at ModCloth have spent the past year building business intelligence tools to measure their business. Evan Tahler, Jennifer Suit, and Kate Zimmerman describe their agile approach to BI problems and share their process and tools.

See all our talks at http://pivotallabs.com/talks

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Davis W. Frank

Remember, Remember, It’s Time for Movember

Davis W. Frank
Thursday, October 27, 2011

November First will begin like any other day. I’ll wake up, I’ll shower, I’ll shave, I’ll take the train to work, and then I’ll code all day.

November Second will be a little different. I’ll wake up, I’ll shower, and I’ll shave, and I’ll take the train to work and code. But that shave will be a little shorter, skipping my upper lip. I’ll continue ignoring one part of my face through the end of the month.

Why? Because it’s Movember. And guys still get prostate and testicular cancer.

Last year during Movember, Pivotal Labs helped raise $10,000 of the $7.5M raised in the US for the Prostate Cancer Foundation and LIVESTRONG to help research and awareness of “dude cancer”.

This year we want to double that amount. But we need your help.

We started a network at Movember called Webstache – a place where anyone in the web development community can start a team, or join a team, or just donate. Our friends at Square have joined the Pivotal teams from San Francisco, Boulder and New York. How about your company?

The mustache I’ll be growing is sad. But not as sad as the fact that 1 in 6 men will be diagnosed with prostate cancer.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Charles Hansen

Standup 10/26/2011: Nothing

Charles Hansen
Wednesday, October 26, 2011

Nothing today

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dan Podsedly

Scheduled Pivotal Tracker Maintenance this Saturday

Dan Podsedly
Wednesday, October 26, 2011

We’re planning database server configuration changes and maintenance work for this Saturday, Oct 29, at 2pm PDT (21:00 UTC). Tracker will be unavailable for approximately one hour.

For the most up to date status information, please follow @pivotaltracker.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Kurtis Seebaldt

Standup 10/25/2011: Do not mock the copycopter

Kurtis Seebaldt
Tuesday, October 25, 2011

Ask for Help

“Using Copycopter + WebMock blows up in db:test:prepare”

Try limiting WebMock to load only in the ‘test’ bundler group.

Interesting Things

  • Chrome 15 now shows pseudo selectors in the inspector (Firebug does this as well)
  • Automatic semicolon insertion in javascript + Rails 3.1 asset pipeline = hard to debug errors. Be careful with Javascript concatination. USE JSLINT!
  • Using Rails 3.1 on Heroku with tinymce-rails fails slug compilation unless you upgrade to the latest version of tinymce-rails.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Pivotal Labs

Interacting with popup windows in Cucumber/Selenium

Pivotal Labs
Monday, October 24, 2011

OAuth providers like LinkedIn often pop-up in a new browser window rather than in Javascript so that the user entering their credentials can see the location bar to be sure they are not being phished by the website requesting their credentials. This is great for security, but not so great for Cucumber testing.

features/signup.feature

Scenario: Sign Up with LinkedIn
  When I go to the home page
  And I follow "Sign Up"
  And I grant LinkedIn access
  Then I should be on the new user page

My application has a hyperlink that opens the OAuth login on the OAuth provider’s website in a new window. Let’s presume the simple matter of wiring this up is already coded in my view.

Testing this with Cucumber requires telling the Selenium web driver to interact with the new popup window. We can do this using page.driver.browser.window_handles to find the newest window handle and scoping out actions to that window.

features/support/signup_steps.rb

When /^I grant LinkedIn access$/ do
  begin
    main, popup = page.driver.browser.window_handles
    within_window(popup) do
      fill_in("Email", :with => "newlee@pivotallabs.com")
      fill_in("Password", :with => "password")
      click_on("Ok, I'll Allow It")
    end
  rescue
  end
end

And that’s it!

Keep in mind that if you use this test as-is, you will be hitting LinkedIn on the real Internet. This is great if you want a test that will always verify the real API, but not so good for CI, since it is Internet connection-dependent and slow. Consider using something like VCR or Artifice to stub out your service calls.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sean Beckett

New Tech Talk: Frank: Cucumber Tests for Native iOS Apps

Sean Beckett
Monday, October 24, 2011

Frank allows you to write automated acceptance tests for native iOS apps using cucumber. You could describe it as Selenium for iOS. Pete Hodgson from ThoughtWorks shows some Frank tests and demonstrates additional tools that Frank provides.

See all our talks at http://pivotallabs.com/talks

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Travis: Distributed CI for OSS

Monday, October 24, 2011 | Run time: 42:55

Erik Michaels-Ober, Fellow at Code for America, discusses Travis CI, a modern distributed open-source build system for continuous integration.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Business Intelligence Tools for Engineers

Monday, October 24, 2011 | Run time: 38.22

The analysts and engineers at ModCloth.com spent the past year building business intelligence tools to measure their business. Evan Tahler, Jennifer Suit, and Kate Zimmerman describe their agile approach to BI problems and share their process and tools.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Frank: Cucumber Tests for Native iOS Apps

Monday, October 24, 2011 | Run time: 44:47

Frank allows you to write automated acceptance tests for native iOS apps using cucumber. You could describe it as Selenium for iOS. Pete Hodgson from ThoughtWorks shows some Frank tests and demonstrates additional tools that Frank provides.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (783)
  • rails (117)
  • testing (90)
  • ruby (86)
  • ruby on rails (71)
  • jobs (62)
  • javascript (59)
  • techtalk (44)
  • ironblogger (42)
  • rspec (39)
  • bloggerdome (34)
  • productivity (34)
  • activerecord (30)
  • rubymine (30)
  • git (29)
  • gogaruco (29)
  • nyc (27)
  • design (24)
  • mobile (23)
  • pivotal tracker (22)
  • process (21)
  • cucumber (21)
  • jasmine (19)
  • ios (18)
  • tracker ecosystem (17)
  • webos (17)
  • objective-c (17)
  • fun (16)
  • android (16)
  • palm (16)
  • ci (16)
  • "soft" ware (16)
  • bdd (15)
  • tdd (15)
  • cedar (15)
  • rails3 (14)
  • performance (14)
  • css (14)
  • gem (13)
  • mouse-free development (12)
  • selenium (12)
  • goruco (12)
  • bundler (12)
  • api (12)
  • keyboard (11)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
Subscribe to Community Feed
  1. 1
  2. 2
  3. 3
  4. 4
  5. →
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Tools
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >