ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: [antunit] @Before/AfterClass analogues
Date Tue, 03 Oct 2006 16:08:08 GMT
On 10/3/06, Matt Benson <> wrote:
> JUnit 4 and TestNG have a Before/AfterClass concept
> for expensive setup/tearDown applicable to most or all
> of a test class.  AntUnit needs something similar;
> e.g. before/after[File|Build|Resource|All]... I think
> it's useful to retain the before/after nomenclature
> for familiarity bred from JUnit 4 and TestNG use in
> the community.  I will implement as before/AfterFile;
> if folk have issues we can discuss a better idiom.

I believe JUnit3 has test decorators to do that...

So you want to support a "before" and "after" target that would be
called before any tests run, and after all tests are run? Why not...

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message