coming from Rails so any help appreciated

1) I realize you can use doctests or unit tests - but is one
recommended over the other ?

2) Is it recommended to have unit tests within each class in the
models.py file or in a separate testing file ?

3) Fixtures using json (I assume json is the recommended approach):
can a new object be defined with json with only a few of the fields
defined ?

4) The "Writing your first django app" is very good (thanks) - needs a
section on demonstrating testing (since testing should be one of the
first things done :)  I could try to write it but obviously I don't
understand python/django testing too well yet.

thks.


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