Will Read's blog



Will ReadWill Read
Branching vs. Code Switches
edit Posted by Will Read on Saturday November 07, 2009 at 02:08PM

There's a debate right now in my team about how to handle a "code freeze", a debate which I find myself on the outside of the majority. The idea behind the code freeze is that one stack of our app will be "frozen" through the holiday season, with few if any changes between now and January. Meanwhile, we'll keep on developing AND releasing to a separate stack.

Will ReadWill Read
How to Not Test RabbitMQ Part 2
edit Posted by Will Read on Friday August 07, 2009 at 01:23PM

This is Part 2 of my two part series on working with queues in Ruby. If you want some context please head over to part 1. In this post I'll touch on Moqueue, using RSpec to stub out Bunny, and a few other hurdles along the way.

Will ReadWill Read
How To Not Test RabbitMQ Part 1
edit Posted by Will Read on Thursday August 06, 2009 at 01:32PM

Q: How do you catch a unique rabbit?
A: Unique (you-neek) up on it!
Q: How do you catch a tame rabbit?
A: Tame way!!!!!

We've been using RabbitMQ as a queue server, alongside the clients, Bunny, and AMQP. In this series I'm hoping (hopping?) to show you some of the pitfalls we've learned to avoid and talk about how to write tests that test your code without getting stuck running a queue server in your test environment.

In Part 1 I'll focus on our situation and creating some context around our choices so that you can decide what makes sense for your project. In Part 2, I'll get into the nitty gritty of how to write some tests/specs around your queues.