apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.61k stars 836 forks source link

Fix empty Test Results with maven surefire plugin. #7113

Closed robfitz273k closed 5 months ago

robfitz273k commented 5 months ago

When running junit tests with maven and the surefire plugin 3.0.0+, the log level can be included in the output for the plugin. This output is used to detect which class is being tested for display in the Test Results tab. Updated the class matching regex to ignore the log level if present.

This change should fix:

Tested with combinations of maven-surefire-plugin 2.12.4 and 3.2.5, bundled and local maven, and Options - Java - Maven - "Print Maven output logging level" setting.

mbien commented 5 months ago

@robfitz273k congrats to your first contribution!