Skip to content

Support inherited and configurable TestNG instance parameters#1321

Merged
baev merged 1 commit into
mainfrom
fix-testng-instance-params
Jul 10, 2026
Merged

Support inherited and configurable TestNG instance parameters#1321
baev merged 1 commit into
mainfrom
fix-testng-instance-params

Conversation

@baev

@baev baev commented Jul 10, 2026

Copy link
Copy Markdown
Member

Context

TestNG users can now declare @TestInstanceParameter on fields inherited from base test classes. When superclass and subclass fields resolve to the same parameter name, the subclass value takes precedence.

Instance parameters can now be hidden or excluded from history through mode and excluded. Excluded parameters remain reported without splitting history, while hidden parameters still affect history unless explicitly excluded. Parameter discovery remains opt-in: unannotated factory fields are not reported automatically.

Checklist

@baev baev added the type:improvement Change that improves some user experience but can't be considered as a new feature label Jul 10, 2026
@github-actions github-actions Bot added the theme:testng TestNG related issue label Jul 10, 2026
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1321 26m 39s Passed tests 1916   Skipped tests 2 4 0 0 View
Allure Java GitHub actions run (2026-07-10T16:21:54.042Z) 26m 39s Passed tests 1916   Skipped tests 2 4 0 0 View

@baev baev merged commit 0b44973 into main Jul 10, 2026
11 checks passed
@baev baev deleted the fix-testng-instance-params branch July 10, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:testng TestNG related issue type: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.

2 participants