Skip to content

Render custom assertion messages in logged Allure steps#18

Merged
baev merged 1 commit into
mainfrom
fix-expects-messages
Jun 28, 2026
Merged

Render custom assertion messages in logged Allure steps#18
baev merged 1 commit into
mainfrom
fix-expects-messages

Conversation

@baev

@baev baev commented Jun 28, 2026

Copy link
Copy Markdown
Member

Context

Logged Rust assertion steps now include the custom message supplied to standard assertions.

For example, assertions such as assert_eq!(actual, expected, "expected feature flag to be enabled for user_id={user_id}") and assert_eq!(is_valid, true, "validation result was wrong for input {:?}", input) now render their formatted messages in the generated step names.

Checklist

@baev baev added the pr:improvement Pull requests that improve existing behavior without adding a new feature. label Jun 28, 2026
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Rust – Pull request #18 24m 5s Passed tests 206 0 0 0 View

@baev
baev merged commit 8a24793 into main Jun 28, 2026
11 checks passed
@baev
baev deleted the fix-expects-messages branch June 28, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:improvement Pull requests that improve existing behavior without adding a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant