« Return to Thread: New to Rails? Read This

Re: New to Rails? Read This

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View in Thread


Älphä Blüë wrote:
[...]
> ** AUTOSPEC **
>
> A lot of people refer to autotest and autotest became Autospec.
> Autospec is very simple to use (it's also referred to as ZenTest,
> because of the gem name).

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.

[...]

> ** 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 like what you're doing with this thread, BTW!

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@...
--
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
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: New to Rails? Read This