Collective Idea

Collective Idea Logo

cucumber

Testing File Downloads with Capybara and ChromeDriver

At Collective Idea, we Cucumber, Capybara and ChromeDriver… and alliteration. But we recently encountered an issue with a very Ajaxy Rails app where we need to test a file download and assert its content.

Read More…

1 Comment – By Steve Richert on January 27, 2012

Capybara, Cucumber and How the Cookie Crumbles

I use Capybara and Cucumber to test my Rails apps, but cookie management can often be difficult… until now.

Read More…

11 Comments – By Steve Richert on January 05, 2012

Use Chrome with Cucumber & Capybara

Swapping out Firefox for Chrome is easier than you think!

Read More…

0 Comments – By Daniel Morrison on September 27, 2011

Simultaneous Capybara Sessions in Cucumber

There’s something very satisfying about watching your Cucumber test suite run (and pass), especially when the tests are running in your browser. I can’t help but think, “Man, I’m glad I don’t have to do all of this myself.” That’s especially true when your testing requires multiple sessions. The old me would fire up a couple different browsers and get to work. But that was the old me.

Read More…

1 Comment – By Steve Richert on August 04, 2011

Test Your API with Cucumber and json_spec

At Collective Idea, we do a lot of work with RESTful JSON APIs. They can be a joy to build but a pain to test. We’re currently working on a project that’s all API all the time, so we developed some reusable Cucumber steps for testing. Now, we’ve abstracted all that goodness out into its own gem… json_spec.

Read More…

20 Comments – By Steve Richert on July 12, 2011

Reusable Cucumber Steps

Mike Swieton recently posted Never say “Click” advocating the use of custom steps over browser-centric ones. I firmly disagree with with the consequences of that strategy.

Read More…

12 Comments – By Zach Moazeni on June 09, 2011

Testing with Sunspot and Cucumber

Testing with sunspot with cucumber can be tricky since you need to manage the solr process separately. This post introduces a new gem “sunspot_test” and how to easily use it.

Read More…

5 Comments – By Zach Moazeni on May 25, 2011

Language Matters

Last week the Ruby and Rails twitterverse had an eruption of debate on the choice of testing frameworks. My thoughts come down to this: language matters.

Read More…

0 Comments – By Keith Gaddis on April 15, 2011

Tweet later with Delayed Job

Schedule a tweet for the future using Delayed Job and the Twitter gem. Plus, some goodies on how to test it with Cucumber!

Read More…

4 Comments – By Brian Ryckbost on March 18, 2011

2010: The Open Source Tools that Made it Great

My list of open source tools that made a big impact on our work this year.

Read More…

1 Comment – By Daniel Morrison on December 13, 2010

Spreedly Integration Testing with Cucumber

Integrating Spreedly into an application is straightforward. Testing it with Cucumber, however, was a little less so. Here’s how we did it.

Read More…

2 Comments – By Brian Ryckbost on December 07, 2010

Stop writing imaginary code.

One of the hardest aspects of development for me has always been anticipating the code I’m going to need to write to solve a problem. BDD saves me from the hassle.

Read More…

1 Comment – By Keith Gaddis on November 23, 2010

Practical Cucumber: Stakeholders

Stakeholders may or may not care about cucumber scenarios, but there is still value in having developers write them.

Read More…

2 Comments – By Brandon Keepers on November 18, 2010

Practical Cucumber: Organization

Nobody knows how to organize cucumber features and steps. Every project has it’s own conventions–that is, if it has conventions at all. Here is a pattern that works for us.

Read More…

6 Comments – By Brandon Keepers on September 13, 2010

Practical Cucumber: Factory Girl steps

Although they’ve been around for a while, very few people know that factory_girl comes with some really useful cucumber steps.

Read More…

10 Comments – By Brandon Keepers on September 09, 2010

Practical Cucumber: Scenario-specific steps

Cucumber steps are meant to be reused. Keep them generic so you don’t have to work too hard.

Read More…

11 Comments – By Brandon Keepers on September 08, 2010

Practical Cucumber

We love Cucumber but often see it poorly used and misunderstood. We are beginning a blog series about “Practical Cucumber” to give you tips and tricks and keep you out of a pickle.

Read More…

0 Comments – By Brandon Keepers on September 07, 2010

Clicking any element with Cucumber and Capybara

We’ve been testing a lot of Javascript heavy apps these days with Cucumber and Capybara, and sometimes you just need to click on something that isn’t a button or a link.

Read More…

9 Comments – By Brandon Keepers on August 03, 2010

Contact Us

Find us on Google Maps
Collective Idea
25 West 8th Street, Suite 200
Holland, Michigan 49423 USA 42.790299-86.108415

Follow us on the Interwebs

We are currently available for medium and long term projects. Please get in touch if we can be of service.