Skip to content

Add status to global errors - #931

Merged
delatrie merged 2 commits into
masterfrom
enrich-global-errors
Oct 23, 2026
Merged

delatrie merged 2 commits into
masterfrom
enrich-global-errors

Conversation

@delatrie

@delatrie delatrie commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Context

The PR adds status to global errors. The default value is broken, which corresponds to unexpected errors. The default status can be overwritten by using providing an optional keyword argument to allure.global_error:

allure.global_error("Foo", status = allure.error_status.FAILED)

Checklist

@delatrie delatrie added the task:new feature Requesting new capability or software feature label Oct 23, 2026
@delatrie
delatrie force-pushed the enrich-global-errors branch from e5f0889 to 37429c1 Compare October 23, 2026 15:25
@delatrie
delatrie merged commit 84cbbf5 into master Oct 23, 2026
47 checks passed
@delatrie
delatrie deleted the enrich-global-errors branch October 23, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

task:new feature Requesting new capability or software feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants