Monthly Archives: July 2008

Don’t take RY (Repeat Yourself) in specs too far

Mikel Lindsaar recently posted a tip encouraging rSpec users to not use before :each, and set up the context in every “it” specification. I’m afraid I disagree. By pushing context setup into your specifications, you’re allowing your contexts to become … Continue reading 

Posted in bdd, dry, rspec | 2 Comments