Tue 27 Feb 2007
I’ve started using test/spec as a replacement for SimplyBDD. It’s great, except for one small thing: I can’t specify the superclass for the test case classes, which basically rules out integration tests in Rails. Rather than rewrite all my integration tests to use the standard test/unit syntax, I decided to patch test/spec. The patch can be found here.
February 28th, 2007 at 17.57
Have you considered using RSpec for BDD?
March 5th, 2007 at 21.13
I have, but I think it might freak out my coworker too much. I’m pretty used to Ruby and its ways, but he’s still influenced by Java, so I’m trying to take it slow in introducing these sort of features.
test/spec allows me to do that because I can mix TDD syntax with BDD syntax, so for the time being I’m happy with test/spec. Not only that, but every other time someone mentions RSpec, it’s because the API changed and they had to tweak their tests — not exactly fun, in my book.