I made a test that ran successfully when extending StrutsTestCase.
Attached the test to the Jira issue. As a result of extending
StrutsTestCase, I encountered a new bug in the spring-plugin, but
that's another story.

I still would like some dev to comment on whether there is an actual
requirement for our tests to extend StrutsTestCase like this. I would
like to avoid it as several of my tests already extend various Spring
utility test classes. If it is a requirement the spring-plugin should
be extended to support the StrutsTestCase.

On 4/6/07, Rich Thornett <[EMAIL PROTECTED]> wrote:

Tried extending XWorkTestCase in a sample test, but sgot the same error.  I'm
extending MockObjectTestCase anyway, so inheritance wouldn't be the best
solution for me.

Doesn't look like there's been any traction on this issue in Jira yet:
https://issues.apache.org/struts/browse/WW-1868


qmnonic wrote:
>
>
> I experienced the same problem in a test case (though different
> circumstances), and it was solved by extending XWorkTestCase instead of
> TestCase as noted in the example -
> 
http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html
> .  This might help...
>
>
>

--
View this message in context: 
http://www.nabble.com/Struts-2-and-Validation-Testing-tf3451623.html#a9872429
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to