You can try this :
http://cimballisblog.blogspot.com/2009/09/unit-testing-struts2-actions-with.html

Cimballi


On Tue, Aug 3, 2010 at 3:01 PM, akash uppal <er.akas...@rediffmail.com> wrote:
>
>
>
> 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-tp25881838p29339523.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Cimballi
JAVA J2EE Freelance
http://javajeeleader.elance.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to