You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by fanyun <yu...@vtradex.com> on 2002/07/12 09:30:59 UTC

Is my understanding correct (about cactus+clover)

Hi all:

After study clover and the mailing list, I think clover working in this
way. (understand it will help us to do the right configure to make
cactus and clover work).

Clover is a compiler which will compile my java codes and add some new
codes into the class files.

When those class files runs, no matter it is run by Junit or Cactus or
Manual, clover will write the result to some file.

After that clover report tools will read the db file and generate
report.

Is my understanding correct?  But I still can not make them work. It
always said the record db is empty.  Any suggestion?



Frank Fan
V.P. of Technology
vTradEx Information Technology Ltd.
Tel: (+8621)62474501
Mobile: (+1360)1830830
Fax: (+8621)62893220
Email: yun.fan@vtradex.com


-----????-----
???: Matt Raible [mailto:matt@raibledesigns.com] 
????: 2002?7?12? 13:55
???: 'Cactus Users List'
??: RE: cactus and clover 

Not really, from what I can tell about Jtest - it's an automated (and
expensive ~3K) way of writing Unit Tests.  I've also heard it doesn't
test your business logic, so what's the use anyway?!

Search the archives of this list for clover, there's good info from
Vincent on it.



> -----Original Message-----
> From: David L. Wasler [mailto:dwasler@yahoo.com] 
> Sent: Thursday, July 11, 2002 6:48 PM
> To: Cactus Users List
> Subject: RE: cactus and clover 
> 
> 
> Hi Matt:
> 
> I know this might not be the correct place to ask.
> Is Clover similar to JTest from
> http://www.parasoft.com
> 
> Thank You
> David L. Wasler
> dwasler@yahoo.com
> 
> --- Matt Raible <ma...@raibledesigns.com> wrote:
> >
> http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=clover
> > 
> > > -----Original Message-----
> > > From: David L. Wasler [mailto:dwasler@yahoo.com]
> > > Sent: Thursday, July 11, 2002 6:01 PM
> > > To: Cactus Users List
> > > Subject: cactus and clover 
> > > 
> > > 
> > > HI
> > > 
> > >  Were can I find information on Clover?
> > > 
> > > > Thank You
> > > > David L. Wasler
> > > > dwasler@yahoo.com
> > > > 
> > > > --- Vincent Massol <vm...@octo.com> wrote:
> > > > > Hi Fanyun,
> > > > > 
> > > > > Cool! I'm glad you're finding Cactus of use!
> > > > > 
> > > > > Clover is a generic test coverage tool. It
> > > > > instruments your source code
> > > > > so that whenever your code is executed, Clover
> > > > logs
> > > > > information in its
> > > > > database file. Then when you run the report,
> > it
> > > > > shows you what code was
> > > > > executed. Thus, there is no dependency with
> > any
> > > > type
> > > > > of tests (you can
> > > > > even run manual tests and it will work) nor
> > with
> > > > the
> > > > > environment
> > > > > (server, database, etc).
> > > > > 
> > > > > The Cactus 1.4 Ant build files show how to get
> > > > > Clover reports for the
> > > > > Cactus test themselves, thus it is a good
> > starting
> > > > > point for you to look
> > > > > at.
> > > > > 
> > > > > Cheers,
> > > > > -Vincent
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: fanyun [mailto:yun.fan@vtradex.com]
> > > > > > Sent: 11 July 2002 13:08
> > > > > > To: 'Cactus Users List'
> > > > > > Subject: Can cactus using clover to analyse
> > test
> > > > > case coverage
> > > > > > 
> > > > > > Hi all:
> > > > > > 
> > > > > > We are building a database application, most
> > of
> > > > > the test cases using
> > > > > > cactus. We want to analyze the coverage of
> > test
> > > > > cases using clover.
> > > > > > 
> > > > > > But the samples for clover are all for unit
> > > > test.
> > > > > My question is can
> > > > > > cactus integrated with clover? If so, how.
> > > > > > 
> > > > > > 
> > > > > > Regards &Thanks
> > > > > > 
> > > > > > fanyun
> > > > > > 
> > > > > > 
> > > > > > --
> > > > > > 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:
> > > > >
> > > >
> > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > 
> > > > 
> > > > 
> > > >
> > __________________________________________________
> > > > Do You Yahoo!?
> > > > Sign up for SBC Yahoo! Dial - First Month Free
> > http://sbc.yahoo.com
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:
> > > >
> > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail: 
> > > > <ma...@jakarta.apache.org>
> > > > 
> > > 
> > > 
> > > =====
> > > Thank You
> > > David L. Wasler
> > > dwasler@yahoo.com
> > > 714-742-0311
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Sign up for SBC Yahoo! Dial - First Month Free
> > http://sbc.yahoo.com
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> > > <mailto:cactus-user->
> > unsubscribe@jakarta.apache.org>
> > > For
> > > additional commands, 
> > > e-mail:
> > <ma...@jakarta.apache.org>
> > > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > 
> 
> 
> =====
> Thank You
> David L. Wasler
> dwasler@yahoo.com
> 714-742-0311
> 
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:cactus-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Is my understanding correct (about cactus+clover)

Posted by Vincent Massol <vm...@octo.com>.

> -----Original Message-----
> From: fanyun [mailto:yun.fan@vtradex.com]
> Sent: 12 July 2002 08:31
> To: 'Cactus Users List'
> Subject: Is my understanding correct (about cactus+clover)
> 
> Hi all:
> 
> After study clover and the mailing list, I think clover working in
this
> way. (understand it will help us to do the right configure to make
> cactus and clover work).
> 
> Clover is a compiler which will compile my java codes and add some new
> codes into the class files.
> 
> When those class files runs, no matter it is run by Junit or Cactus or
> Manual, clover will write the result to some file.
> 
> After that clover report tools will read the db file and generate
> report.

Yes, correct.

> 
> Is my understanding correct?  But I still can not make them work. It
> always said the record db is empty.  Any suggestion?

This is actually more for the Clover support than for the Cactus
mailing-list!

I have one suggestion :

- you need to make sure you shut down the JVM before you run the report
as this is the time when Clover flushes its buffer to the db file

Apart from this, I would suggest you send email to Clover support as
they will be better placed to answer you ... :-)

Cheers,
-Vincent

> 
> 
> 
> Frank Fan
> V.P. of Technology
> vTradEx Information Technology Ltd.
> Tel: (+8621)62474501
> Mobile: (+1360)1830830
> Fax: (+8621)62893220
> Email: yun.fan@vtradex.com
> 
> 
> -----????-----
> ???: Matt Raible [mailto:matt@raibledesigns.com]
> ????: 2002?7?12? 13:55
> ???: 'Cactus Users List'
> ??: RE: cactus and clover
> 
> Not really, from what I can tell about Jtest - it's an automated (and
> expensive ~3K) way of writing Unit Tests.  I've also heard it doesn't
> test your business logic, so what's the use anyway?!
> 
> Search the archives of this list for clover, there's good info from
> Vincent on it.
> 
> 
> 
> > -----Original Message-----
> > From: David L. Wasler [mailto:dwasler@yahoo.com]
> > Sent: Thursday, July 11, 2002 6:48 PM
> > To: Cactus Users List
> > Subject: RE: cactus and clover
> >
> >
> > Hi Matt:
> >
> > I know this might not be the correct place to ask.
> > Is Clover similar to JTest from
> > http://www.parasoft.com
> >
> > Thank You
> > David L. Wasler
> > dwasler@yahoo.com
> >
> > --- Matt Raible <ma...@raibledesigns.com> wrote:
> > >
> > http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=clover
> > >
> > > > -----Original Message-----
> > > > From: David L. Wasler [mailto:dwasler@yahoo.com]
> > > > Sent: Thursday, July 11, 2002 6:01 PM
> > > > To: Cactus Users List
> > > > Subject: cactus and clover
> > > >
> > > >
> > > > HI
> > > >
> > > >  Were can I find information on Clover?
> > > >
> > > > > Thank You
> > > > > David L. Wasler
> > > > > dwasler@yahoo.com
> > > > >
> > > > > --- Vincent Massol <vm...@octo.com> wrote:
> > > > > > Hi Fanyun,
> > > > > >
> > > > > > Cool! I'm glad you're finding Cactus of use!
> > > > > >
> > > > > > Clover is a generic test coverage tool. It
> > > > > > instruments your source code
> > > > > > so that whenever your code is executed, Clover
> > > > > logs
> > > > > > information in its
> > > > > > database file. Then when you run the report,
> > > it
> > > > > > shows you what code was
> > > > > > executed. Thus, there is no dependency with
> > > any
> > > > > type
> > > > > > of tests (you can
> > > > > > even run manual tests and it will work) nor
> > > with
> > > > > the
> > > > > > environment
> > > > > > (server, database, etc).
> > > > > >
> > > > > > The Cactus 1.4 Ant build files show how to get
> > > > > > Clover reports for the
> > > > > > Cactus test themselves, thus it is a good
> > > starting
> > > > > > point for you to look
> > > > > > at.
> > > > > >
> > > > > > Cheers,
> > > > > > -Vincent
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: fanyun [mailto:yun.fan@vtradex.com]
> > > > > > > Sent: 11 July 2002 13:08
> > > > > > > To: 'Cactus Users List'
> > > > > > > Subject: Can cactus using clover to analyse
> > > test
> > > > > > case coverage
> > > > > > >
> > > > > > > Hi all:
> > > > > > >
> > > > > > > We are building a database application, most
> > > of
> > > > > > the test cases using
> > > > > > > cactus. We want to analyze the coverage of
> > > test
> > > > > > cases using clover.
> > > > > > >
> > > > > > > But the samples for clover are all for unit
> > > > > test.
> > > > > > My question is can
> > > > > > > cactus integrated with clover? If so, how.
> > > > > > >
> > > > > > >
> > > > > > > Regards &Thanks
> > > > > > >
> > > > > > > fanyun
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > 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:
> > > > > >
> > > > >
> > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Sign up for SBC Yahoo! Dial - First Month Free
> > > http://sbc.yahoo.com
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > >
> > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > >
> > > >
> > > >
> > > > =====
> > > > Thank You
> > > > David L. Wasler
> > > > dwasler@yahoo.com
> > > > 714-742-0311
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Sign up for SBC Yahoo! Dial - First Month Free
> > > http://sbc.yahoo.com
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:cactus-user->
> > > unsubscribe@jakarta.apache.org>
> > > > For
> > > > additional commands,
> > > > e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> >
> >
> > =====
> > Thank You
> > David L. Wasler
> > dwasler@yahoo.com
> > 714-742-0311
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:cactus-user-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <ma...@jakarta.apache.org>
> >
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@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>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>