You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Gilles Scokart <gs...@gmail.com> on 2011/08/10 17:25:00 UTC

Re: Status of AntUnit trunk?

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 <bo...@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


Re: Status of AntUnit trunk?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-08-10, Gilles Scokart wrote:

> Sorry, I was on vacation those 2 last weeks (and managed to stay away
> from my email).

Great way of doing vacation - and I'm sorry I interrupted it 8-)

> 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.

OK, understood.

> 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.

The code doesn't influence the rest of AntUnit much and what we have
ssems to work in Gump, so I'm inclined to mark the JUnit integration as
experimental inside the javadocs and proceed with releasing AntUnit from
trunk with the JUnit code.

Stefan

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