We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameters added via the allure.dynamic.parameter inside a test body don't affect allure history of the test.
allure.dynamic.parameter
Run the following example multiple times to produce multiple *-result.json files:
*-result.json
import allure import time def test_issue743_reproduction(): allure.dynamic.parameter("time", time.perf_counter())
These results all have the same historyId. In such a case allure reporter shows us only one test case with several retries:
historyId
There should exists one test case per run, each with no retries in a way, similar to native pytest parameters.
nodeid
excluded
False
Related code:
allure-python/allure-pytest/src/listener.py
Line 102 in 12085cd
The text was updated successfully, but these errors were encountered:
This also blocks #430.
Sorry, something went wrong.
Fix historyId calculation by allure-pytest (fix #743, #744) (#745)
8e7b2ae
Fix historyId calculation by allure-pytest (fix allure-framework#743, a…
74b5733
…llure-framework#744) (allure-framework#745)
delatrie
Successfully merging a pull request may close this issue.
I'm submitting a ...
What is the current behavior?
Parameters added via the
allure.dynamic.parameter
inside a test body don't affect allure history of the test.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Run the following example multiple times to produce multiple
*-result.json
files:These results all have the same
historyId
. In such a case allure reporter shows us only one test case with several retries:What is the expected behavior?
There should exists one test case per run, each with no retries in a way, similar to native pytest parameters.
nodeid
of a test.excluded
set toFalse
.historyId
should not depend on parameters order).nodeid
(use some separator to prevent collisions with other tests).historyId
.Related code:
allure-python/allure-pytest/src/listener.py
Line 102 in 12085cd
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: