IMHO Cucumber is an excellent tool to use to on top of rspec to do unit 
testing.

Dear Joshua,

Doing unit tests with cucumber has not yet been approved as a best 
practice,
but don't let that stop you from experimenting.

Cucumber is no substitute for rspec , it's a complement, a
way of writing tests in a more natural language, using rspec's power 
underneath.
Thus, it is not only suited for integration tests, but for view test, 
database tests,
and anything else that you can think of.

 Jim Weirich has started an implementation of unit test with cucumber.
http://github.com/jimweirich/Given

I recommend you simply write in cucumber what you need to test,
and figure out how to make it reusable to other models.

A good friend has started an implementation of reusable steps
in Spanish, soon it will be available in English too.

http://github.com/nando/mundo-pepino

All the best!

Raimond Garcia
-- 
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to