add-memberalign-toparrow-leftarrow-rightbellblockcalendarcamerachatchevron-leftchevron-rightchevron-small-downchevron-upcircle-with-crosscomposecrossfacebookflagfolderglobegoogleimagesinstagramkeylocation-pinmedalmoremuplabelShape 3 + Rectangle 1pagepersonpluspollsImported LayersImported LayersImported LayersshieldstartwitterwinbackClosewinbackCompletewinbackDiscountyahoo

The Sacramento Ruby Meetup Monthly Meetup

Every time you change one part of your site, there's the chance that some far corner of the site will go belly-up. Even if you have all the unit tests in place and passing, even if all the parts work correctly, sometimes the code will find a way to fail.

So you'd like to walk through the site. All of it, every time you update it. And that's not practical.

Enter Capybara; Capybara is a Ruby gem for automating browsers to test web applications. Capybara won't solve the problem completely, but it will ease the pain.

This talk will introduce Capybara and provide an example of writing browser tests for a simple Rails application. We’ll cover how to set up Capybara and then use it to walk Firefox through a site’s elements. We’ll finish up with some things to be careful of, and some techniques for tracking down difficult bugs.

Presented by Jeff Roush.

If time permits, we'll also have open-mike Q&A and hacking time.

Join or login to comment.

9 went

Our Sponsors

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy