How to write something to surefire log with JUnit 4
- by peperg
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