Hello Luna,
On 07/04/26 2:49 pm, Luna Schwalbe wrote:
Hey,
I've been trying to get the `junitlauncher` taskdef to print the
output of tests while they're being run.
The builtin listeners (legacy-{plain,brief,xml}) only write their
output after the tests have concluded, so as a next step I tried
implementing my own `TestResultFormatter`, but realized that the
`sysOutAvailable` and `sysErrAvailable` methods are only called at the
end after tests, and not live during execution.
Those 2 methods will be called regularly as and when the data is
available (it's batched by 1024 bytes). Have you tried generating enough
content to see if it makes a difference in what you observe? If it still
doesn't work, then it would be good to share a reproducer. Which version
of Ant are you on?
-Jaikiran
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]