Re: Testing Struts

2006-10-30 Thread Ted Husted
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

Re: testing struts

2005-10-21 Thread Adam Hardy
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

Re: testing struts

2005-10-20 Thread hem hem
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

Re: testing struts

2005-10-20 Thread Adam Hardy
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

Re: Testing Struts Applicaton

2005-09-23 Thread Laurie Harper
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

RE: Testing Struts Applicaton

2005-09-22 Thread rahul
- > 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

Re: Testing Struts Applicaton

2005-09-22 Thread Laurie Harper
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

RE: Testing Struts With JUnit

2005-08-19 Thread Mitchell, Steven C
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

Re: testing struts and locale

2004-07-22 Thread Alex
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