ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: [COVERAGE] jakarta-ant
Date Fri, 01 Feb 2002 15:54:45 GMT
Diane,

You can use Mock Objects (http://www.mockobjects.com) to "simulate" the
real objects. At least this provides unit test for the code logic.
However, it does not provide integration unit test. But I guess, as you
said, this is really hard to cover.

Having unit tests that cover 100% of Ant's classes logic is already
quite good in my opinion.

Cheers
-Vincent

> -----Original Message-----
> From: Diane Holt [mailto:holtdl@yahoo.com]
> Sent: 01 February 2002 03:11
> To: Ant Developers List
> Subject: Re: [COVERAGE] jakarta-ant
> 
> But wouldn't some of these tasks be pretty hard to have tests for? For
> example, to test the Perforce tasks you'd need to have Perforce
running on
> the test machine(s) -- you can get a free version of it (limited to 2
> users), but who'd be the one to have to set something like that up?
(I
> don't even want to think about someone having to deal with setting up
> Clearcase :)  And I'm not sure how you'd really test the Sound task,
other
> than to verify the error-checking works right -- unless someone's
around
> to listen and make sure the sound-file really played :)
> 
> Diane
> 
> =====
> (holtdl@yahoo.com)
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com
> 
> --
> To unsubscribe, e-mail:
<mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:ant-dev-help@jakarta.apache.org>
> 




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


Mime
View raw message