You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Udhay <sy...@gmail.com> on 2011/07/12 10:34:36 UTC

JUnit in Struts

Hi,

Please help me how to perform JUnit testing in Struts 1.1 applications.

Kindly share me any links and other information that will help me a lot.

Thanks in advance.

GoodWill,
Udhay

RE: JUnit in Struts

Posted by Baubak Gandomi <b....@castsoftware.com>.
Sorry this reply was for Mano not Uday...

-----Original Message-----
From: Baubak Gandomi [mailto:b.gandomi@castsoftware.com] 
Sent: lundi 18 juillet 2011 17:27
To: Struts Users Mailing List
Subject: RE: JUnit in Struts

Hello Uday,

Why don't you check :
http://struts.apache.org/2.x/docs/testing-actions.html

It is a bit short, but it worked just fine for me.

Best regards,

Baubak

-----Original Message-----
From: Mano Pájaro [mailto:mano0313@gmail.com] 
Sent: vendredi 15 juillet 2011 07:39
To: Struts Users Mailing List
Subject: Re: JUnit in Struts

Hello, any tool for struts 2.2.1?

2011/7/12 Udhay <sy...@gmail.com>

> Hi,
>
> Please help me how to perform JUnit testing in Struts 1.1 applications.
>
> Kindly share me any links and other information that will help me a lot.
>
> Thanks in advance.
>
> GoodWill,
> Udhay
>



-- 
Manolo Pájaro Santander
Ingeniero de Sistemas VIII Semestre (Actual)
<<Promoviendo el Software Libre>>
CUSOL-UAC
Linux Registered User # 522026

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


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


Re: JUnit in Struts

Posted by Mano Pájaro <ma...@gmail.com>.
Thanks Baubak, I will give it a try!

2011/7/18 Baubak Gandomi <b....@castsoftware.com>

> Hello Uday,
>
> Why don't you check :
> http://struts.apache.org/2.x/docs/testing-actions.html
>
> It is a bit short, but it worked just fine for me.
>
> Best regards,
>
> Baubak
>
>
-- 
Manolo Pájaro Santander
Ingeniero de Sistemas VIII Semestre (Actual)
<<Promoviendo el Software Libre>>
CUSOL-UAC
Linux Registered User # 522026

RE: JUnit in Struts

Posted by Baubak Gandomi <b....@castsoftware.com>.
Hello Uday,

Why don't you check :
http://struts.apache.org/2.x/docs/testing-actions.html

It is a bit short, but it worked just fine for me.

Best regards,

Baubak

-----Original Message-----
From: Mano Pájaro [mailto:mano0313@gmail.com] 
Sent: vendredi 15 juillet 2011 07:39
To: Struts Users Mailing List
Subject: Re: JUnit in Struts

Hello, any tool for struts 2.2.1?

2011/7/12 Udhay <sy...@gmail.com>

> Hi,
>
> Please help me how to perform JUnit testing in Struts 1.1 applications.
>
> Kindly share me any links and other information that will help me a lot.
>
> Thanks in advance.
>
> GoodWill,
> Udhay
>



-- 
Manolo Pájaro Santander
Ingeniero de Sistemas VIII Semestre (Actual)
<<Promoviendo el Software Libre>>
CUSOL-UAC
Linux Registered User # 522026

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


Re: JUnit in Struts

Posted by Mano Pájaro <ma...@gmail.com>.
Hello, any tool for struts 2.2.1?

2011/7/12 Udhay <sy...@gmail.com>

> Hi,
>
> Please help me how to perform JUnit testing in Struts 1.1 applications.
>
> Kindly share me any links and other information that will help me a lot.
>
> Thanks in advance.
>
> GoodWill,
> Udhay
>



-- 
Manolo Pájaro Santander
Ingeniero de Sistemas VIII Semestre (Actual)
<<Promoviendo el Software Libre>>
CUSOL-UAC
Linux Registered User # 522026

Re: JUnit in Struts

Posted by smartudhaya <sy...@gmail.com>.
Thanks Dave.

I am using StrutsTestCase provided by SourceForge.net.

Its working great.

Regards,
Udhay

--
View this message in context: http://struts.1045723.n5.nabble.com/JUnit-in-Struts-tp4578187p4582024.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


Re: JUnit in Struts

Posted by Dave Newton <da...@gmail.com>.
Depends on what you're trying to test. For integration/functional testing I
wouldn't use JUnit, I'd use easyb, jwebunit, or whatever.

I've never bothered unit testing S1 actions because it's so irritating sure
to the servlet spec dependencies, but if you search the web there's quite a
few resources available, and several options for setting everything up.

Dave
On Jul 12, 2011 4:35 AM, "Udhay" <sy...@gmail.com> wrote:
> Hi,
>
> Please help me how to perform JUnit testing in Struts 1.1 applications.
>
> Kindly share me any links and other information that will help me a lot.
>
> Thanks in advance.
>
> GoodWill,
> Udhay