ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Scokart <gscok...@gmail.com>
Subject Re: Status of AntUnit trunk?
Date Wed, 10 Aug 2011 15:25:00 GMT
Sorry, I was on vacation those 2 last weeks (and managed to stay away
from my email).

There is indeed some code to run antunit script from a Junit runner.
I liked the antunit style to test ant tasks (or group of tasks), but I
felt it was not always easy to integrate it into all veriety of IDE or
build tool (I'm specially thinking to maven or java debugger), so I
had the idea to make a junit adapter.

I was 2 years ago, and at that time junit 3 was still quiet used, so I
hesitated about the junit version.  I did a bad compromise : I
integrated with both junit 4 and Junit 3.  As it was never released, I
think the junit 3 adapter can probably be dropped.  I also think that
with the most recent junit 4 (maybe using the junit 4 Rules) there
might more elegant solution.

I used that version of antunit in the deco project at that time, and
it worked well "for me".  I didn't tried it with recent junit 4
version.  I didn't tried neither the integration with various junit
runner : I tried only eclipse (not sure wich old version) and maven
runner (also old version).

There is a long time I want to go back to this code, but I'm afraid
that if I didn't found the time in the last 2 years, it might still
take a while before I found time again.

I still think this features would be usefull (I like it very much to
easily plug the eclipse debuger), but I don't want to delay more a new
release.  The code can be put on a branch (not sure if it is easy) or
could be marked somehow as experimental in case others found it
interresting.




Gilles Scokart



On 21 July 2011 03:56, Stefan Bodewig <bodewig@apache.org> wrote:
> Hi,
>
> the last AntUnit release has been made almost three years ago.  In the
> meantime we've accumulated a few changes, one of which is needed by the
> EasyAnt folks (and I needed another one recently to debug some RAT
> Anttasks error).  Therefore I'm entertaining the idea of a 1.2 release.
>
> AFAIR Gilles has put significant effort into a bridge that makes it
> possible to run AntUnit tests from within a JUnit test runner but I'm
> unsure of its state.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Mime
View raw message