Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lishang123 opened this issue Feb 5, 2025 · 0 comments
Open

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

Lishang123 opened this issue Feb 5, 2025 · 0 comments

Comments

@Lishang123
Copy link

Lishang123 commented Feb 5, 2025

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?

@Lishang123 Lishang123 changed the title Pitest doesn't not show display names of the parameterized tests Pitest does not show display names of the parameterized tests Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant