Develop unit tests that catch red warning boxes on common forms
Making myself a rainy day todo.
- Forms are not well covered by unit tests. In general that's not what pure unit tests are supposed to do, but I'm thinking there could be something minimal.
- Since the addition of popup forms, warnings and notices don't get seen when testing because they get snippet'd out.
- It's happening often enough where changes introduce some type of "missing XXX" from forms.
So it might be as simple as a test that runs through some common forms and sets up some vars and calls preprocess and buildform and when run as tests that should show notices. It won't catch everything, but might reduce the problem.