I do hardcore test-driven development and hate when tests hit my mysql database (even local one). Things get only worse when testcases start demanding radically different datasets.
Then I've paused and wrote DbMock class for django that uses some black magic to steal django db connection and substitute it with temporary sqlite in-memory db. Here it is: http://www.djangosnippets.org/snippets/345/ So far, it works w/o any issues on my pet project. Will be glad to hear any comments and, especially, bugs found :) -- Andrey V Khavryuchenko Django NewGate - http://www.kds.com.ua/djiggit/ Development - http://www.kds.com.ua Call akhavr1975 on www.gizmoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---