apache / netbeans

Apache NetBeans
Apache License 2.0
2.55k stars 813 forks source link

Fix empty Test Results with maven surefire plugin. #7113

Closed robfitz273k closed 1 month ago

robfitz273k commented 1 month 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 1 month ago

@robfitz273k congrats to your first contribution!