Gradle java.util.logging.Logger output in unit tests
Posted
by Misha Koshelev
on Stack Overflow
See other posts from Stack Overflow
or by Misha Koshelev
Published on 2010-06-07T16:39:39Z
Indexed on
2010/06/07
16:42 UTC
Read the original article
Hit count: 383
Dear All:
Sorry this is probably a very simple question.
I am using gradle http://www.gradle.org/ for my development environment. It works quite well!
I have written a simple unit test that uses HtmlUnit and my own package.
For my own package, I use java.util.Logger.
HtmlUnit seems to use commons logging: http://htmlunit.sourceforge.net/logging.html
I would like to see console output of my logging messages from java.util.Logger
However, it seems that even messages at the info level are not displayed in my Unit Test Results GUI (System.err link), although the HtmlUnit messages are all displayed.
Please let me know if you have suggestions.
Thank you! Misha
© Stack Overflow or respective owner