Skip to content

Avoid duplicate display names for JUnit Platform test templates - #1366

Open
baev wants to merge 1 commit into
mainfrom
fix-1122
Open

Avoid duplicate display names for JUnit Platform test templates#1366
baev wants to merge 1 commit into
mainfrom
fix-1122

Conversation

@baev

@baev baev commented Jul 31, 2026

Copy link
Copy Markdown
Member

Context

Allure JUnit Platform reports now avoid prepending a parent display name when a test-template invocation already starts with it. For example, Should work as expected [Attempt 1] is no longer reported as Should work as expected Should work as expected [Attempt 1].

This also covers JUnit’s RepeatedTest.LONG_DISPLAY_NAME pattern while preserving the prefixes needed to distinguish parameterized class invocations.

fixes #1122

Checklist

@baev baev added the pr:improvement Change that improves some user experience but can't be considered as a new feature label Jul 31, 2026
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1366 28m 3s Passed tests 2076 4 0 0 View
Allure Java GitHub actions run (2026-07-31T13:04:50.725Z) 28m 3s Passed tests 2076 4 0 0 View

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

Labels

pr:improvement Change that improves some user experience but can't be considered as a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 Duplicate test case names for test-template-invocation tests

2 participants