> So it seems, I am stuck with fixtures at least at the moment I do not
> know how to create users without fixtures such, that they would be
> persistent between unit tests.
>
I agree - you are stuck. Perhaps a two tier approach might work. If you
bite the bullet and completely re-load the test database for every unit
test but use an in-memory sqlite it should run fairly quickly especially
if you have a mega-swag of RAM. Then once a week, switch to PostgreSQL
and leave them running while you go and have lunch.
Mike
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment