[rspec-users] Integrate or isolate views?

Jesse Crockett lists at ruby-forum.com
Sun Jun 28 15:16:48 EDT 2009

Sarah Allen wrote:
> I find that testing views independently is useful just to catch HTML
> errors that can sometime creep in during a re-factor.  These check
> important details that would be more tedious using cucumber.  The
> controller specs establish the post-condition for the controller
> independent of the view.  In the project I'm working on (which has
> mobile clients as well as a website), we have end-to-end integrations
> tests using cucumber that are primarily around our XML APIs (which are
> from my perspective, just a different kind of view) -- these also
> serve as developer docs.
> My $.02
> Sarah

IMO, this is what the RSpec Book needs (at this point in beta), 
real-world conclusions based on experience, rather than "take it on 
faith that you will 'revel' in the rewards."  Thanks, Sarah
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list