I'm just wondering in which part of the flow I should test if the process has all input variables set which are neccessary to continue and how to proceed if they are not there.
E.g. normally I would expect a "price" variable in the context of my "buy" flow. But what should happen if a programming error occurs in one of the parent flows and the variable is not passed at runtime? Is it common to add some error handling on the beginning of a process? But how to model this. As it is not a "business" but a technical requirement I wouldn't like to introduce a step "check on input params" into the flow.
Or shouldn't there be any checks in the hope that the junits would find all spelling mistakes etc?
Thanks,
Markus
I would opt for the junit solution instead of bloating the real business code with checks that mostly will be useless.
My 2 cents,
Koen