After several iterations of running tests on an application (manage.py test myapp), I have these observations which are not really clear in the documentation:
1. All initial_data fixtures (not just those for the tested app) are always loaded into the test database. 2. Because there is no means to specify fixtures for doctests, you must have an initial_data fixture to run model doctests against the test database if existing data is required for the tests. (The documentation simply says 'Each doctest begins with a “blank slate” — a fresh database containing an empty table for each model.') 3. Loading specific fixtures in django.test.TestCase instances is not echoed to stdout. (The documentation is clear that the test database is flushed before each test.) Cheers, David Django 1.0-beta1 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---