Default form values make manual testing easier

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the workflows category.

Last Updated: 2024-11-21

I was programming a series of tax calculators that consisted of long forms. At some point I wanted to test the various edge cases of the UI (and the client would not OK integration tests). Manual testing proved laborious and demotivating, because I had to type the same crap into the form every time.

The better way, I found, was to pre-populate all the form fields - just for the process of development - with the defaults I wanted to test. This made interactive testing much more pleasant.