On Mon, Aug 9, 2010 at 2:42 AM, Stefan Bodewig <bode...@apache.org> wrote:
> The short story is that with the changed StreamPumper code and
> useAvailable=true forked JUnit tests now take a longer time because the
> test time is influenced by the time it takes to send the output for test
> events back to Ant.
>
> For more background <http://marc.info/?t=127975171300004&r=1&w=2>.
>
> Testlistener events have been introduced to support advanced UIs that
> show progress bars while running the tests
> <https://issues.apache.org/bugzilla/show_bug.cgi?id=31885>
>
> If I disable those events, tests in 1.8.x finish as quickly as they do
> in 1.7.1.
>
> I plan to add an disableTestListenerEvents (any ideas for a different
> name?)  attribute to <junit> that can be used to disable Testlistener
> events (that's trivial to implement, all the necessary hooks are already
> there), set it to false for backwards compatibility reasons and strongly
> recommend to set it true unless you really need them (running inside of
> NetBeans) in the manual page as well as WHATSNEW.

Makes sense.

> We could add a YAMP (yet another magic property) ...

Might be useful as well, yes.

> Comments?

Just a bit thank you? :) --DD

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

Reply via email to