I have used class based views in my latest project. Now I'm trying to write tests. I can write tests like the ones I wrote for function based views but these seem to me to be functional tests. Does anyone do unit testing on a class based view methods? I'm not sure how to go about instantiating a view to use in a unit test. And I'm wondering if they are really useful and/or worth the effort.
-- 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/-/Fi8-isg7z5gJ. 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.