CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Jeremy D. Miller -- The Shade Tree Developer

Under the hood and working with .Net, TDD, Software Design, and Agile Stuff

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


Comments

Erik Lane said:

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

# October 24, 2006 9:55 AM

Jeremy D. Miller said:

A fine choice.

# October 24, 2006 10:26 AM

Jim Bolla said:

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.

# October 24, 2006 10:32 AM

Eric Wise said:

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?  =)

# October 24, 2006 9:53 PM

bob said:

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!

# October 26, 2006 5:00 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Jeremy D. Miller

Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy previously worked as a systems architect building mission critical supply chain software for a Fortune 100 company and learned agile development practices as a .Net consultant at ThoughtWorks, one of the pioneers of agile development. Jeremy is the author of the open source StructureMap (http://structuremap.sourceforge.net) tool for Dependency Injection with .Net and the forthcoming StoryTeller (http://storyteller.tigris.org) tool for supercharged FIT testing in .Net. Jeremy's thoughts on just about everything software related can be found on his weblog "The Shade Tree Developer" at http://codebetter.com/blogs/jeremy.miller, part of the popular CodeBetter site. Jeremy is a Microsoft MVP for C#. Check out Devlicio.us!

Our Sponsors

This Blog

Syndication

News

All opinions expressed here constitute my (Jeremy D. Miller's) personal opinion, and do not necessarily represent the opinion of any other organization or person, including (but not limited to) my fellow employees, my employer, its clients or their agents.

About Me

"Best Of" Compendium

StructureMap (Dependency Injection for .Net)

StoryTeller (Supercharged Fit)

Build your own Cab

TestDriven

MVP