[PLUG-Devel] rails and sending email
Derek Neighbors
derek at gnue.org
Thu Sep 20 07:17:52 MST 2007
I prefer to use rSpec for Rails over test/unit. Opinions vary of course.
http://rspec.rubyforge.org/
It has a way to mock/stub. There are talks about supporting Mocha or
FlexMock within rSpec as well.
--
Derek
On 9/19/07, Josh Coffman <joshcoffman at gmail.com> wrote:
> I'm not sure if you don't think Inversion of Control (Dependency Injection)
> applies to rails, but I've already read some from people who are using it to
> enable mocking in their unit tests.
>
> Or maybe you thought I was talking about subversion source control...
>
> Either way, your tips are greatly appreciated. I will be referring to the
> svn article soon. I think unit testing and db migration are next up. I've
> just been throwing things around at this point, and don't have any
> significant db stuff. just two tables from example articles: people & phones
> tables.
>
> I've gotten no less than 6 recommends for the Agile Rails book. I'll have to
> pick it up soon.
More information about the PLUG-devel
mailing list