there is a script for database migrations:
http://wiki.cakephp.org/tutorials:cake_migrations

i started adding some command line options to run the migrations
automatically in a deploy script and to migrate test and default
database. so you can theoretically do the same thing in your tests. but
i think if you use this in your setup/teardown (migrate up/down)
methods it will slow down your tests totally. it would be better to use
a mock object instead.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to