bakineggs

least surprising surprise

My name is Dan Barry. I'm a senior in Computer Science at The University of Illinois at Urbana-Champaign.

I've been programming for over ten years now. Most recently, I've been programming in Ruby and using the Rails framework. I'm also proficient in PHP and JavaScript.

I'm currently living in San Francisco, California where I am an intern at Scribd.

Blog

March 22, 2009 @ 6:22pm

Auto-Start Juggernaut with Cucumber

If you use Juggernaut and Cucumber, many of your features can fail unless you have a Juggernaut server running. You can add the following to your features/support/env.rb to automatically start and stop Juggernaut when you run your features:

juggernaut = fork { exec 'juggernaut -c config/juggernaut.yml' }
at_exit { exec 'kill', juggernaut.to_s }

Post Comment

© 2008-2010 Dan Barry. Designed by Hunter Hastings.