Re: [Rails] Re: Should web tests have fixtures?

2010-09-16 Thread radhames brito
fixtures are hard to maintain and impractical comprared to factories, factories are pluging/gems that create object dinamicly as needed so you can do thing like this i have 100 users with that the factory will create on the fly 100 users and you can later change that 100 to 1000 . On Wed, Sep 1

[Rails] Re: Should web tests have fixtures?

2010-09-15 Thread Robert Walker
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. Cu

[Rails] Re: Should web tests have fixtures?

2010-09-15 Thread Joshua Muheim
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. > Here are the various levels of tes

[Rails] Re: Should web tests have fixtures?

2010-09-15 Thread Robert Walker
Joshua Muheim wrote: > Does RoR have the possibility to use fixtures for web testing? Or am I > completely on the wrong track, and CakePHP's doing everything the right > way? I'm not exactly sure what you mean by "web testing." Here are the various levels of testing that Rails supports (Test::Uni