You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tests are executed via surefire, they are discovered on a per test-class basis. For each test-class a separate testPlan is created.
The EnhancedLegacyXmlReportGeneratingListener creates one report per testPlan.
It takes the name of the root as the name for the report, which is the engine name (junit-jupiter) in all of those cases.
Surefire itself reports all classes in a separate file.
The problem could possibly be here:
I am not a surefire pro, so it is possible the surefire configuration is not correct. Nevertheless, surefire itself is reporting per class and this listener is not. I tried to debug and had the feeling that no special testPlan was created fo the EnhancedLegacyXmlReportGeneratingListener.