peepcode has some nice videos wrt rspec
http://peepcode.com/products/rspec-basics
http://peepcode.com/products/rspec-mocks-and-models
http://peepcode.com/products/rspec-controllers-and-tools
http://peepcode.com/products/rspec-user-stories
sadly you have to pay for them.
it took a while for me to understand rspec, but i find it much easier
to use that unittests.
similarly a useful tool i use is autotest (part of the ZenTest suite)
to test my specs automatically once a file is updated.
we can discuss rspec, but where would you like to begin? i recommend
thoroughly reading the rspec.info website.
regards,
aizat
--
aizatto - sleep, to the power of z -_-;;^zzz
I'm impressed you've gotten this far ;-)
In any case, you're probably better served by asking specific
questions, say like how do I spec a particular behavior/method of the
job model. So provide some snippets of the code you're stuck at trying
to spec and perhaps the good folks on this list might just show you
how they would go about spec-ing it.
Also, don't be too rigid with writing tests, i.e. it shouldn't throw
off your release time by months just to write these tests, the end
goal, as cliché as it sounds, is to release, working code all the
better, but just release.
Cheers.
On Wed, Jun 25, 2008 at 2:58 PM, Bahador Bahadori <baha...@gmail.com> wrote:
> how abt if we try out a not very though example, and through that we can get
> to knw more abt it by implementing it together with our MVCs?
>
--
-Prashant
--