> Almost. AFAIK, autotest used to work with both Rails' built-in tests
> and RSpec, but at some point the script was split. So now you use
> autospec for RSpec and autotest otherwise.
>
> Autospec and autotest are part of the ZenTest package, but ZenTest is
> more than just those scripts: it contains the logic necessary for
> autotest to do incremental testing. So it's a bit of an
> oversimplification to say that autospec is referred to as ZenTest.
>
Thanks for the reply Marnen - great to see the differences between those
two. I personally did not realize this.
>> ** SHOULDA **
>>
>> Another new kid on the block is Shoulda. It is actually a very
>> interesting testing platform and it might not be as famous as RSpec but
>> it's really easy to use and I'm starting to lean towards using shoulda
>> over rspec, personally.
>
> I've noticed a lot of people going this way. Why? What are Shoulda's
> advantages over RSpec?
I'll set aside some links that would do a better job at explaning the
pros/cons or the opinionated versus arguments between the two. Please
note that I like Rspec and I also like Shoulda. I haven't gained enough
knowledge of both to reply with my own opinions unfortunately. My
attempt was to bring more of an awareness to the different testing
platforms out there and allow others to make their own educated guess as
to which one works well for them.
Rspec vs. Shoulda
http://kylebanker.com/blog/2008/08/from-rspec-to-shoulda/http://www.vimeo.com/3296561--
Posted via
http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en-~----------~----~----~----~------~----~------~--~---