ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Clarke <michael.m.cla...@gmail.com>
Subject Re: svn commit: r1580520 - in /ant/core/trunk: ./ manual/Tasks/ src/main/org/apache/tools/ant/taskdefs/optional/junit/
Date Mon, 31 Mar 2014 21:28:35 GMT
I had started this a few months back (
https://github.com/mc1arke/ant/tree/JUnit4Conversion) but got side-tracked
due to a job change. I'd be happy to go back and continue/finish the work
if there's a general demand for it.


On 31 March 2014 01:14, Matt Sicker <boards@gmail.com> wrote:

> I'd be a willing volunteer to help port the unit tests to JUnit 4. There
> are various methods to using JUnit 4 with JUnit 3 test cases, suites, etc.,
> that allow for easier migration as well. I do know that JUnit 4 has a
> minimum requirement of Java 1.5 at least due to annotations.
>
>
> On 30 March 2014 18:53, Antoine Levy Lambert <antoine@gmx.de> wrote:
>
> > Hello Matt,
> >
> > thanks for this suggestion.
> >
> > I have not used the JUnit TemporaryFolder rule because it is introduced
> in
> > JUnit 4 and the Ant test cases are extending
> > a class of JUnit 3.
> >
> > The policy of the Ant project is usually to keep everything binary
> > compatible ...
> >
> > If there is interest and willing volunteers and a consensus we could
> > change that, at least in the case of BuildFileTest and JUnit 3/4 and base
> > "BuildFileTest" on JUnit 4.
> >
> > Regards,
> >
> > Antoine
> > On Mar 23, 2014, at 1:50 PM, Matt Sicker <boards@gmail.com> wrote:
> >
> > > Could you use the JUnit TemporaryFolder rule? That appears to be rather
> > > threadsafe.
> > >
> > >
> > > On 23 March 2014 11:28, Antoine Levy Lambert <antoine@gmx.de> wrote:
> > >
> > >> Hi,
> > >>
> > >> Thanks to John Elion for this contribution.
> > >>
> > >> I have tried it on the Ant test cases. This makes the execution of the
> > >> test cases shorter by 3 minutes with 2 threads [ not sure what is the
> > total
> > >> time because I also run the antunit tests ].
> > >>
> > >> Some of our test cases do not support parallelism because they are
> > >> creating and dropping temporary directories and files which have the
> > same
> > >> names.
> > >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail: dev-help@ant.apache.org
> >
> >
>
>
> --
> Matt Sicker <boards@gmail.com>
>

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