Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Backlog
-
Component/s: Maven Surefire Plugin
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
We already log to the console whenever we regain control from the testing framework; in JUnit directory suites, that's once per class, which is pretty often, but if you use JUnit TestSuites or TestNG, we lose control at the start of the run and don't get it back until the end of the run.
We should provide an option to log to the console after every test case method. It should probably be off by default...?
The example implemantion of TestNG's ITestListener interface in the manual section about Listeners is not as nice as a class-level summary but would serve its purpose to give live feedback. Additionally using ITestListener.onStart(), it might also be possible (for non-parallel tests) to output something like