Jeremy D. Miller -- The Shade Tree Developer

Sponsors

The Lounge

Syndication

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
CodingLaw!

Because I watched too many "Man Law!" commercials during this weekend's football games:

 "There must be a stub or a test fixture in every codebase that uses the Simpsons as a theme for fake data"

 
CodingLaw!
 

P.S. A consistently effective way to break the ice during pairing sessions is to decide on the fake data theme of the day.  A couple years ago I was on a team with some client developers that weren't exactly warming up to us consultants (not the first or the last time).  As silly as this sounds, one of the coders got a bit friendlier after we used a NASCAR theme for a day in our unit tests.  With another coder we started using a Hair Metal band theme.  Star Wars/Star Trek are cliches now, just throwing ideas out at you that I've used:

  • Dukes of Hazzard
  • Zelazny's Amber series (for the two of us who knew what that was)
  • Hitchhiker's Guide to the Galaxy
  • Wheel of Time

Posted Tue, Oct 24 2006 9:05 AM by Jeremy D. Miller

[Advertisement]

Comments

Erik Lane wrote re: CodingLaw!
on Tue, Oct 24 2006 9:55 AM

So, there are others out there who do this?  I tend to use Seinfeld for mine.  Giddy Up!

Jeremy D. Miller wrote re: CodingLaw!
on Tue, Oct 24 2006 10:26 AM

A fine choice.

Jim Bolla wrote re: CodingLaw!
on Tue, Oct 24 2006 10:32 AM

That's hilarious. Just last night I wrote a test for a my UserEditPresenter whose user data was Name: "Amanda Hugginkiss" and Division: "Moe's Tavern". It also was my first time using Rhino Mocks.  Whew.

Eric Wise wrote re: CodingLaw!
on Tue, Oct 24 2006 9:53 PM

The wheel of time test?

Is that the test that starts out interesting, and then starts repeating data, but from different perspectives, without actually advancing the test?  =)

bob wrote re: CodingLaw!
on Thu, Oct 26 2006 5:00 PM

Make that 3 for Amber...

I'm going to have to sell jeweler's rouge in the hunting section next time I do a store application!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?