--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> On Tue, 3 Oct 2006, Matt Benson
> <[EMAIL PROTECTED]> wrote:
> > The AntUnit documentation says:
> > 
> > "Each test target is run in a fresh Ant project;
> i.e.
> > each test target has a fresh set of properties and
> > references."
> 
> I think it should better be the way the
> documentation says, even
> though it is currently implemented in a different
> way (because it was
> easier to do and I didn't think about it).
> 

I'm not going to fight on this one; obviously there
are simple and valid reasons to use a new Project
instance.

You mention that properties, etc. are low-cost enough
for setup; obviously so.  My concern was actually for
compilation of support classes (e.g. testing <java>);
I would hate to keep compiling and blowing away a
bunch of classes in each setUp/tearDown.  Maybe we
should use before/After[Tests as Peter suggested], and
document that these should be limited to effects that
live beyond the scope of the Project instance (i.e.
FS, DB, etc.)?

-Matt

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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to