On Sat, Jul 18, 2009 at 7:47 PM, Joshua Russo<[email protected]> wrote:
> On Sat, Jul 18, 2009 at 9:38 AM, V <[email protected]> wrote:
>>
>> Some time ago I wrote down my experience on testing, including testing
>> forms: http://viktornagy.com/blog/2009/05/24/what-test-django/
>>
>> moreover, I would recommend to check out the tests of some existing
>> projects, that might give you some clues on how to test forms, views,
>> models, etc.
>
> Thanks for the link to your blog post. I'm trying to read up on as many
> tutorials/examples as I can to make sure I'm getting the most out of what
> Django offers.
> There are a ton of projects out there, do you have any recomendations as to
> a few that have good examples of solid testing methodology?

As is often the case in the Django community, one answer is "find
anything James Bennett has done, and follow his lead". :-)

James has just finished reworking django-registration [1]. One of the
offshoots of this work is a test suite that (last time I spoke to
James) had almost 100% source line coverage. There are plenty of other
examples, but this is a great place to start. As a bonus, a lot of the
tests for django-registration are directly relevant to your interests
- testing forms.

[1] http://bitbucket.org/ubernostrum/django-registration/wiki/Home

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 [email protected]
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