Hello Jaikiran,

thanks for your reply!

> Those 2 methods will be called regularly as and when the data is
> available (it's batched by 1024 bytes).

You are right, the methods are indeed called regularly. No idea how I missed that last time.

Now I have one big problem if I want to actually send the data to Ant's standard output, i.e. the terminal where `ant test` is run: Writing to stdout/stderr from the `TestResultFormatter` just results in an infinite loop, because that output is again captured by junitlauncher and passed to the formatter.

Is there any way to circumvent that, or do I have to live with regular file output (e.g. to the configured destination `OutputStream`)? With junit4, I believe it was possible to set a formatter's output to stdout from within build.xml, but I couldn't find such an option with junitlauncher.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to