Skip to content

Report metadata from inherited JUnit Jupiter test methods#1317

Merged
baev merged 1 commit into
mainfrom
fix-1032
Jul 9, 2026
Merged

Report metadata from inherited JUnit Jupiter test methods#1317
baev merged 1 commit into
mainfrom
fix-1032

Conversation

@baev

@baev baev commented Jul 9, 2026

Copy link
Copy Markdown
Member

Context

Allure JUnit Platform now preserves metadata declared on inherited Jupiter test methods. Tests inherited from abstract base classes or provided by interface default methods can report their descriptions, labels, severity, owner, and links in the generated Allure results.

When a test method is overridden, Allure now reports the metadata declared on the overriding method, so reports reflect the test that actually ran instead of leaking metadata from the inherited declaration.

fixes #1032

Checklist

@baev baev added pr:bug Something isn't working and removed theme:junit-platform labels Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java GitHub actions run (2026-07-09T16:18:37.276Z) 24m 2s Passed tests 1912   Skipped tests 2 6 0 0 View
Allure Java – Pull request #1317 24m 2s Passed tests 1912   Skipped tests 2 6 0 0

@baev
baev merged commit abdb58b into main Jul 9, 2026
11 of 12 checks passed
@baev
baev deleted the fix-1032 branch July 9, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞: Inherited test methods don't support their annotations.

2 participants