ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: [antunit] @Before/AfterClass analogues
Date Tue, 03 Oct 2006 16:26:43 GMT
before/afterTests?

Peter


On 10/3/06, Dominique Devienne <ddevienne@gmail.com> wrote:
>
> On 10/3/06, Matt Benson <gudnabrsam@yahoo.com> 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...
> --DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message