Skip to content

fix(pytest-bdd): do not reuse uuid across test runs - #926

Merged
delatrie merged 2 commits into
masterfrom
fix/pytest-bdd-uuid-uniqueness
Sep 29, 2026
Merged

delatrie merged 2 commits into
masterfrom
fix/pytest-bdd-uuid-uniqueness

Conversation

@delatrie

@delatrie delatrie commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Context

allure-pytest-bdd generates test result uuid values as str(UUID(md5(item.nodeid))), which reuses the values across test runs.

Reusing the same UUID values can lead to errors like in #925.

The PR makes uuid generation conform to the Allure 2 test result format, which requires UUIDs to be unique even across runs.

Fixes #925.

Checklist

@delatrie delatrie added the type:bug Pull requests that fix bugs label Sep 29, 2026
@delatrie
delatrie merged commit 11926cd into master Sep 29, 2026
14 checks passed
@delatrie
delatrie deleted the fix/pytest-bdd-uuid-uniqueness branch September 29, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Pull requests that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allure 3 report statistics and UI are incorrect on Windows for parallel runs with retries

2 participants