We want to write a testcase that doesn't include validation because we want to execute an action without worrying about validation (we aren't concerned about the business rules fpr the form in this case). We added a setter to MockStrutsTestCase that allows us to set configuration parameters, but when we used that to set "validation" to "false", struts was no longer able resolve the request path.
Is this not a reasonable thing to do, or are we doing something wrong, or is this a problem with the framework?
thanks,
acslocum
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We want to write a testcase that doesn't include validation because we want to execute an action without worrying about validation (we aren't concerned about the business rules fpr the form in this case). We added a setter to MockStrutsTestCase that allows us to set configuration parameters, but when we used that to set "validation" to "false", struts was no longer able resolve the request path.
Is this not a reasonable thing to do, or are we doing something wrong, or is this a problem with the framework?
thanks,
acslocum