On Sep 1, 2017 3:00 PM, "Derek" <gamesb...@gmail.com> wrote:
Thanks Melvyn I already have tests for the processing of data when it has been uploaded - which is actually the critical issue for the application. The "view" is just really a thin wrapper around the two steps : form display & upload and then the file processing itself : and those are the parts I need tests for. I'd have to agree with Melvin. You should be testing your view code as well, which would incorporate the tests for the form class. If the view is broken out interacts badly with the form for whatever reason, the fact that the form works on it's own is irrelevant. Plus it isn't that hard to add in. I would test the view even if it is boiler plate code shared by all of your forms, because you need to be certain that the combination of the view and form in question work together. -James -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciUgbWkGFVrqBWKAYdifP%2BjTchZwHR0-GfPKGcTjP%3DBjfA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.