Someone has probably already developed a technique for relieving the tedium for the following idiomatic unit test:
- GET a url with form data already populated
- POST a revised form with one or more fields edited
- Check response (profit!)
Step 2 is the most tedious, cycling through the form fields. Are there any time-saving hacks for testing Django forms?
[Update: I'm not testing Django forms handling. I'm verifying that my application produces correct responses when a user makes changes to a form. This is an application which processes clinical information, hence a lot of possible responses to test.]