Skip to content

Fix Allure AssertJ rendering for null assertion arguments#1282

Merged
baev merged 1 commit into
mainfrom
fix-assertj-npe
May 29, 2026
Merged

Fix Allure AssertJ rendering for null assertion arguments#1282
baev merged 1 commit into
mainfrom
fix-assertj-npe

Conversation

@baev
Copy link
Copy Markdown
Member

@baev baev commented May 29, 2026

Context

Allure AssertJ now handles valid AssertJ assertions that include null expected values without interrupting the test. Assertions such as containsExactlyInAnyOrder(null, "a", "b") and extracted values checked with containsExactly(null, null) can now be recorded as Allure steps instead of failing during step rendering.

Lambda-based assertion arguments continue to render as before, so existing step names for extracted properties and callbacks remain stable while mixed null-containing argument lists are displayed safely.

Checklist

@baev baev added the type:bug Something isn't working label May 29, 2026
@github-actions github-actions Bot added the theme:assertj AssertJ related issue label May 29, 2026
@github-actions
Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1282 11m 13s Passed tests 990   Skipped tests 4 994 0 0 View

@baev baev merged commit ddd8478 into main May 29, 2026
10 checks passed
@baev baev deleted the fix-assertj-npe branch May 29, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:assertj AssertJ related issue type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants