Ruby on Rails Friday, February 25, 2011

I just love shoulda. It is such a step up from plain tests. It allows
me to write more readable tests without having to have
damn_stupid_test_names_that_try_and_explain_everything.

The selling point is the context do ... end and the fact that you can
have setup do ... end nested at various levels. Without this I would
either have to have hundreds of smaller test files (where does this
new test go?) or unreadable test files where the test names signify
nothing.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment