You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by akash uppal <er...@rediffmail.com> on 2010/08/03 22:00:22 UTC
RE: Unit Testing in Struts 2.1.6
I am using struts with spring, and getting same exception.
I used StrutsSpringTestCase class.
Anyone have come clue????? I wud appreciate
Dan - Is your Struts 2 application using Spring? If it isn't you shouldn't
need to use the StrutsSprintTestCase (but then I don't know why you would
get the error you did).
If you are using Spring then I don't have any good advice for you as I've
not used the JUnit plugin much with a Struts 2 - Spring application.
Bruce
dolsen wrote:
>
> When I follow the web site
> http://www.brucephillips.name/blog/index.cfm/2009/9/5/Unit-Testing-A-Struts-2-Action-Class--Struts-2-JUnit-Plugin
> I get the following error when trying to run my test case. I then try to
> extend StrutsSpringTestCase and I get a different error. Below is my code
> the two different errors I get.
>
>
>
--
View this message in context: http://old.nabble.com/Unit-Testing-in-Struts-2.1.6-tp25881838p29339501.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org