Skip to content

surefire version 3.5.4 broke maven-surefire-junit5-tree-reporter #3203

Description

@fabriciorby

Affected version

3.5.4

Bug description

Hello,

I've developed this plugin extension some years ago and it's kind of totally dependant on the test "source" field from the ReportEntry to have the full nested classes paths

From version 3.5.4 on, there's no full path received by the ConsoleReporter.

Image

From version 3.5.3, I got it filled like this

Image

I suspect that it has to do with the new bug fix described in the Release Notes:
[SUREFIRE-2298] - fix xml output with junit 5 nested classes (fix integration with Cucumber and Archunit) (#828) @olamy

This is absolutely necessary for the plugin to work, I took a quicklook in the MR that is linked in the bug fix but I couldn't relate it to the source field. If someone can point me towards where this info is being retrieved/consumed and if this can behavior can be rollbacked it would be helpful so I can open a PR myself.

Link to the plugin: https://github.com/fabriciorby/maven-surefire-junit5-tree-reporter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions