jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prabodh Goel <prabodhg...@yahoo.com>
Subject RE: Junit vs JUnitDoclet vs Jtest
Date Thu, 07 Nov 2002 04:25:37 GMT

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 <vmassol@octo.com> 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:
> > >
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:cactus-user-help@jakarta.apache.org>
> > >
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > HotJobs - Search new jobs daily now
> > http://hotjobs.yahoo.com/
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:cactus-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:cactus-user-
> > help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:cactus-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message