Skip to content

Comment on Rails Rocksparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.