Joshua Muheim wrote:
> Thanks for your answer, Robert.
> 
>> I'm not exactly sure what you mean by "web testing."
> 
> I mean the integration tests, where one programs a browser to do some 
> stuff, e.g. "open website", "enter stuff into form", "press submit", 
> "assert pattern xy exists" etc.

Cucumber has great integration with webrat and capybara for such 
testing.

>> Here are the various levels of testing that Rails supports (Test::Unit):
>> 
>> 1. Model (Unit tests)
>> 2. Functional (Controller tests)
>> 3. Integration (Controller + View tests)
> 
>> FIXTURES ARE BAD!!!
> 
> You mean that the theory behind fixtures is bad (use predefined test 
> data), or that the way Rails offers the use of fixtures is bad?

I mean use factories instead of fixtures (as Rails defines the term 
"fixtures").
-- 
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-t...@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