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:[EMAIL PROTECTED]
> 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
> 
> =====
> ([EMAIL PROTECTED])
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to