A few years ago I worked with RoR and I really loved it. Since aber 2
years or so I didn’t do any webmaster work anymore, though.
Now I have a new job where CakePHP is used, some sort of RoR for PHP.
CakePHP - though quite nice for a PHP framework - is annoying me again
and again, and sadly the Google G. Mailing List doesn’t offer me any
help for my questions which I’m posting since days…
The main subject for these posts is testing, because I want to add a
good testing battery to an existing CakePHP application (right, shame on
the developers who didn’t do this yet!).
But it turns out testing seems to be quite a hassle with CakePHP - at
least web testing!
What I want to do is the following: I want to write web tests that test
the basic actions of my website, e.g. CRUD a model. For this I need some
data already populating my database, which are fixtures. In CakePHP
there do exist fixtures, but only for unit testing, and NOT for web
testing. CakePHP doesn’t even think web testing needs its own test
database (or at least I couldn’t get any answer that would prove
something else from the folks of CakePHP’s Google Group… testing
really seems to be a neglected or at least “braaand new thing” in the
So what I wanted to know from you, folks (because I don’t remember and I
don’t have the possibility to check it out for myself at the moment):
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
Thanks a lot for answers,