Hi,
Have you read this?
http://bakery.cakephp.org/articles/view/testing-models-with-cakephp-1-2-test-suite
It seems to explain how to use fixtures.
Regards,
Maurits
On 09/06/2010 09:01 AM, psybear83 wrote:
So I'm the only one who needs such functionality? Does CakePHP simply
ignore this great functionality in Rails, or does it offer in a
different way or paradigm?
I guess for the sake of simplicity I will just write a small script
which deletes all tables when starting the tests and inserts some
basic data into it... Not beautiful, but it will be enough for my
purposes.
On 2 Sep., 15:25, psybear83<[email protected]> wrote:
Hi all
From Ruby on Rails I know web testing, and there it is really great.
But sadly I see that CakePHP offers only some basic web testing by
integrating SimpleTest and not enhancing it.
So is there any way to reset my database tables when starting my test
suite? Or even to insert some startup data (fixtures)? Without this
functionality web testing for CakePHP seems really weak to me...
Thank you.
Josh
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en