On Wed, 2016-11-30 at 02:10 -0800, Adam Williamson wrote:
On Wed, 2016-11-30 at 09:38 +0100, Josef Skladanka wrote:
So if this is what you wanted to do (data validation), it might be a good idea to have that submitter middleware.
Yeah, that's really kind of the key 'job' of that layer. Remember, we're dealing with *manual* testing here. We can't really just have a webapp that forwards whatever the hell people manage to stuff through its input fields into ResultsDB.
I guess another way you could look at it is, this would be the layer where we actually define what kinds of manual test results we want to store in ResultsDB, and what the format for each type should be. I kinda like the idea that we could use the same middleware to do that job for various different frontends for submitting and viewing results, e.g. the webUI part of this project, a CLI app like relval, and a different webUI like testdays...