On 2/1/07, Michael Radziej <[EMAIL PROTECTED]> wrote:
> > is there a
> > HOWTO somewhere on how to write a test which does the whole model,
> > database sync, etc etc cycle?
>
> http://www.djangoproject.com/documentation/testing/
>
> explains how tests and fixtures work. Look for an existing test for
> this and extend it.

Just to clarify - the testing documentation refers to tests that you
write for your own projects (i.e., unit testing your own Django
application). The Django internal tests use the same doctest and
unittest framework as your own application tests, but are executed
using an internal testing framework.

Django's internal tests are in the /tests directory, and are executed
by running /tests/runtests.py. /tests/modeltests are tests that double
as documentation (they get automagically turned into the online
documentation at http://djangoproject.com/documentaion/models/);
/tests/regressiontests contains more extensive tests, and tests to
make sure that a particular bug never surfaces again.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to