Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@apache.org Received: (qmail 25374 invoked from network); 8 Nov 2002 09:13:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Nov 2002 09:13:52 -0000 Received: (qmail 15029 invoked by uid 97); 8 Nov 2002 09:14:55 -0000 Delivered-To: qmlist-jakarta-archive-cactus-user@jakarta.apache.org Received: (qmail 14998 invoked by uid 97); 8 Nov 2002 09:14:54 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 14981 invoked by uid 98); 8 Nov 2002 09:14:53 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20021108091339.38202.qmail@web40002.mail.yahoo.com> Date: Fri, 8 Nov 2002 01:13:39 -0800 (PST) From: Prabodh Goel Subject: RE: Junit vs JUnitDoclet vs Jtest To: Cactus Users List In-Reply-To: <008101c2862f$7bb1f400$0200a8c0@octovma> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Vincent, Thanks for the info. I will have look at Mock Objects before reaching any conclusion regards, Prabodh --- Vincent Massol wrote: > Prabodh, > > I believe JUnitDoclet only generates empty > skeletons. You still need to > put the meat (JUnitDoclet is not a testing > framework). Do you find > writing this tedious: > > public class TestXXX extends TestCase > { > public testYYY() > { > } > } > > (this is with the new JUnit 3.8.1 syntax) > > That said, EasyMock and the Dynamic Mock API both > generate Mock objects > at runtime (using Dynamic Proxies). You should > really have a look at > www.mockobjects.com or wwww.easymock.org > > -Vincent > > > -----Original Message----- > > From: Prabodh Goel [mailto:prabodhgoel@yahoo.com] > > Sent: 07 November 2002 04:26 > > To: Cactus Users List > > Subject: RE: Junit vs JUnitDoclet vs Jtest > > > > > > Hi Vincent > > > > Thanks for the help. Will Mock Objects be able to > > generate Test class and methods framework like in > > JUnitDoclet. > > Its actually very tedious to write evey single > test > > case using JUint and hence I thought of shifting > to > > JUnitDoclet (its free too!) > > > > regards, > > Prabodh > > --- Vincent Massol wrote: > > > Hi Prabodh, > > > > > > > -----Original Message----- > > > > From: Prabodh Goel > [mailto:prabodhgoel@yahoo.com] > > > > Sent: 06 November 2002 05:52 > > > > To: Cactus Users List > > > > Subject: RE: Junit vs JUnitDoclet vs Jtest > > > > > > > > Hi Eric, > > > > > > > > I am interested in testing only core Java. > > > > > > Then you should use Mock Objects. I highly > recommend > > > either EasyMock or > > > the Dynamic Mock API from www.mockobjects.com. > > > > > > However, I hope you do realize that when it > comes to > > > testing J2EE > > > applications, testing the code is only half of > the > > > job. Testing the > > > configuration and setup is the other half. > Cactus > > > was built to address > > > this requirement: it tests the code at the > method > > > level but in the > > > context of its configuration/setup to ensure the > > > application works (and > > > not that the code works). > > > > > > As we progress towards containers containing > more > > > services and as > > > progress towards L4G tools, the cost of building > an > > > application is > > > shifting more and more towards integration (and > thus > > > configuration), > > > i.e. configuration that is not in the code. > > > > > > Cheers, > > > -Vincent > > > > > > > > > > > - Prabodh > > > > > > > > --- EPugh@upstate.com wrote: > > > > > I think it all depends on what kinds of > testing > > > you > > > > > want.. any one test > > > > > tool won't work.. I use Junit, DbUnit, > WebTest, > > > and > > > > > Cactus, all depending > > > > > on what parts of my app I am testing... > > > > > > > > > > Eric > > > > > > > > > > -----Original Message----- > > > > > From: Prabodh Goel > > > [mailto:prabodhgoel@yahoo.com] > > > > > Sent: Tuesday, November 05, 2002 11:30 PM > > > > > To: Cactus Users List > > > > > Subject: Junit vs JUnitDoclet vs Jtest > > > > > > > > > > > > > > > > > > > > Hi All > > > > > > > > > > I am evaluating which unit testing method I > > > should > > > > > use > > > > > from Quality Engg. perspective. > > > > > > > > > > a. Unit test should have 100% code coverage > > > > > b. I should be able to compile all the unit > > > tests > > > > > (given by developers) at module level as > well as > > > a > > > > > whole. > > > > > > > > > > I am evaluating JUnit, JUnitDoclet and > Jtest. > > > > > > > > > > Has anyone used all of these ? If yes, > please > > > let me > > > > > know which one will be able satisfy both the > > > > > conditions > > > > > Do I need JProbe for code coverage ? > > > > > > > > > > TIA > > > > > prabodh > > > > > > > > > > > > > > __________________________________________________ > > > > > Do you Yahoo!? > > > > > HotJobs - Search new jobs daily now > > > > > http://hotjobs.yahoo.com/ > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: > > > > > > > > > > > > > > For additional commands, e-mail: > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > HotJobs - Search new jobs daily now > > > > http://hotjobs.yahoo.com/ > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > unsubscribe@jakarta.apache.org> > > > > For additional commands, e-mail: > > > > > > help@jakarta.apache.org> > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > > > > For additional commands, e-mail: > > > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > U2 on LAUNCH - Exclusive greatest hits videos > > http://launch.yahoo.com/u2 > > > > -- > > To unsubscribe, e-mail: > unsubscribe@jakarta.apache.org> > > For additional commands, e-mail: > > help@jakarta.apache.org> > > > === message truncated === __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- To unsubscribe, e-mail: For additional commands, e-mail: