Skip to content

Pitest does not show display names of the parameterized tests #1383

@Lishang123

Description

@Lishang123

In line coverage report, I would like to see the name of the parameterized test that kills a mutation.
I modified the name of the test with @ParameterizedTest(name = "...")
But the line coverage report only shows generic test names like "[test-template-invocation:# 32]".
The same with tests generated by TestFactory . The dynamic names are not recognized.
This makes it hard to identify the relevant test.
Are dynamic names supported by PIT at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions