Slides and Code from “Mockfight!” Talk
As promised, here are the slides from last night’s talk:
Since the code in the presentation is taken somewhat out of context, I’m including the full code sample as well.
Even though it ended in a tie, it may not be as bad as “kissing your sister”. Both are great libraries that provide functionality that was never possible for us when writing PHP code. Choosing the right one is a matter of personal preference – right now, our preference is Mocha.

Tyrant is a "meta" Rails application designed to run other Rails applications.
Recent Comments
I have used several different strategies for achieving this, and have settled on the plugin seed_fu to accomplish this task. Because it uses plain ruby files you have quite a few more options for manipulating your seed data as opposed to using fixtures. I have found that this lets me create seed data that is much less brittle than fixtures can be. You can find seed_fu on...