How to write something to surefire log with JUnit 4

Posted by peperg on Stack Overflow See other posts from Stack Overflow or by peperg
Published on 2010-06-01T10:37:25Z Indexed on 2010/06/01 20:33 UTC
Read the original article Hit count: 291

Filed under:
|
|

Is it possible to write something from inside the test to surefire-reports/MyClass.txt ? Any kind of logger etc ? There is a Reporter in TestNG:

  Reporter.log("Something here");

and the message appears under test method in report. Is there something similiar in JUnit

© Stack Overflow or respective owner

Related posts about junit

Related posts about maven