We actually do not use test within our application (I know that’s bad and sad). I have reads a lot about Test::Unit, Shouda, minitest and the new one Bacon. But cannot make my mind yet. Basically our needs are :
- Use of watir (love it)
- Easy to learn
- Do not mess with the application (like Rspec generator – not against rspec)
- Integration with rails 3
- No clients will have to read it, only dev.
What do you think ?
I actually abandoned
Test::Unitand switched toRSpec 2. Only developers have to read our tests, but RSpec seems to encourage better structured tests thanTest::Unit. It’s different to most other testing frameworks though, so there’s a small learning curve, but only for the first few days.I also strongly advise that you don’t use Rails’ fixtures and you take a look at Machinist.