Yeah, RSpec is better. I didn't get the fuss when I first switched from Test::Unit; it's really just nicer, more clear syntax.
After doing RSpec for a while, writing with Test::Unit seemed really clunky and annoying, especially when reading tests.
I don't use the new Story stuff in RSpec. That seems geared more toward non-programmers who spec things out to be coded by others.
Writing tests is like writing anything else: you can write shitty tests in Test::Unit or RSpec. Neither one will necessarily help you to write good, short, idempotent tests, which is the really important part.
Comments
Yeah, RSpec is better. I didn't get the fuss when I first switched from Test::Unit; it's really just nicer, more clear syntax.
After doing RSpec for a while, writing with Test::Unit seemed really clunky and annoying, especially when reading tests.
I don't use the new Story stuff in RSpec. That seems geared more toward non-programmers who spec things out to be coded by others.
Writing tests is like writing anything else: you can write shitty tests in Test::Unit or RSpec. Neither one will necessarily help you to write good, short, idempotent tests, which is the really important part.