jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Lesiecki" <n...@eblox.com>
Subject RE: Junit vs JUnitDoclet vs Jtest
Date Fri, 08 Nov 2002 17:04:54 GMT
Don't forget MockDoclet.

http://joe.truemesh.com/mockdoclet/

I've never used it but it looks *very* promising.

Cheers,
nick

Nicholas Lesiecki
Principal Software Engineer
eBlox, Inc.
(520) 615-9345 x104
Check out my new book!:
Java Tools for Extreme Programming: Mastering Open Source Tools, including
Ant, JUnit, and Cactus

http://www.amazon.com/exec/obidos/ASIN/047120708X/

Check out my articles on AspectJ:
Test flexibly with AspectJ and mock objects:
http://www-106.ibm.com/developerworks/java/library/j-aspectj2/?loc=j

Introduction to AspectJ
http://www-106.ibm.com/developerworks/library/j-aspectj/index.htmlloc=dwmain


> -----Original Message-----
> From: Prabodh Goel [mailto:prabodhgoel@yahoo.com]
> Sent: Friday, November 08, 2002 2:14 AM
> To: Cactus Users List
> Subject: RE: Junit vs JUnitDoclet vs Jtest
>
>
>
> Hi Vincent,
>
> Thanks for the info. I will have look at Mock Objects
> before reaching any conclusion
>
> regards,
> Prabodh
>
>
> --- Vincent Massol <vmassol@octo.com> 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 <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>
> >
> >
> >
> === message truncated ===
>
>
> __________________________________________________
> 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>



--
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