What is your experience? Is it worth it, and is it possible? 

I tried it and found it quite difficult to follow guideline of unit testing 
-- testing a unit of code, a class for example. Maybe Im just ignorant, but 
I didnt see, how can I create registration app only with unit tests. The 
only way I could drive implementation with tests was using more like an 
integration testing approach: calling requests with data and asserting that 
new user was registered and that form was valid/invalid etc, but this goes 
against TDD as I understand it. So should I not worry about pure "unit 
testing" approach and use django client http request to validate 
RegistrationForm. Or I should write unit tests for RegistrationForm class?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/OpZIMMWTTOcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to