First, in the scope of Struts 2, something like STC isn't needed,
since Actions can be tested without mocks.
For Struts 1, I used Struts TestCase for some time, and it was quite
good, but it's not a replacement for business logic unit tests or
click-through UI tests. If you are testing the back-e
It looks like the home page for mockstrutstestcase is your best starting
point.
http://strutstestcase.sourceforge.net/
hem hem on 20/10/05 23:49, wrote:
Hi Adam,
thanks for your reply,
i my struts(version 1.2) web app,i am using tiles,
action form are submitted through tiles(jsp)templates.
i
Hi Adam,
thanks for your reply,
i my struts(version 1.2) web app,i am using tiles,
action form are submitted through tiles(jsp)templates.
i am having a helper class which copies property values from form bean to model
object.
i call the methods in this helper class from my action class and put som
hem hem on 20/10/05 22:57, wrote:
i am using struts jar 1.2 in my web app.
i want to test my struts action classes and jsps using Junit
are there any nice tutorials on this.
i want to use MockStrutsTestcase in my junit tests
What precisely do you want to test? There are many different junit
c
us in it
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper
Sent: Friday, September 23, 2005 1:05 AM
To: user@struts.apache.org
Subject: Re: Testing Struts Applicaton
rahul wrote:
Can anyone post some sample CactusStrutsTestCase code
That's a bit vagu
-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper
> Sent: Friday, September 23, 2005 1:05 AM
> To: user@struts.apache.org
> Subject: Re: Testing Struts Applicaton
>
>
> rahul wrote:
> > Can anyone post some sample CactusStrutsTestCase code
>
> T
rahul wrote:
Can anyone post some sample CactusStrutsTestCase code
That's a bit vague; what are you trying to test? One place you could
look is the Cactus test suite for the taglibs subproject in the Struts
source (grab a current source distribution or checkout from subversion,
and look in t
Luiz,
Are you aware that there is an extension of Junit made for testing Struts?
http://strutstestcase.sourceforge.net/
-Original Message-
From: Luiz Godoy [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 3:22 PM
To: Struts Users Mailing List
Subject: Testing Struts With JUnit
Is this something no one has ever ventured to try?
On Wed, 21 Jul 2004, Alex wrote:
> Date: Wed, 21 Jul 2004 09:36:05 -0400 (EDT)
> From: Alex <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: testing stru
9 matches
Mail list logo