Discussion:
Test output formatting
Juergen Donnerstag
2012-12-17 09:13:32 UTC
Permalink
Hi

I searched the mail archives etc. and found lots of entries on how to
enable that test output is printed on the console, such as
test.testLogging.showStandardStreams
= true

That's good, but in addition I want to format the output differently. E.g.
- I have a legacy project that is using its own logging facade. JUnit's
standard output only list the delegate method which is useless. Which is
why we developed a small JUL Formatter and configured it via
logging.properties.
- I need additional information such as the thread
- where as other information are currently redundant and/or difficult to
read

This legacy code sometimes behaves different when tested in the IDE
compared to when tested via gradle, which is why I'd really appreciate to
see the output in the same (suitable) format however I test it

Any idea how to achieve that easily? Thanks a lot

Juergen

Loading...