Closed SergyBud closed 11 months ago
Hi, @SergyBud !
Try allure.dynamic.id
:
import allure
import pytest
@pytest.mark.parametrize(["allureId", "type"], [
("37898", "GitHub"),
("37899", "Azure"),
("37897", "Google")
])
def test_all_auths(allureId, type):
allure.dynamic.id(allureId)
FTR: the discussions page is a better place for such kind of questions.
(
There are parameterized tests, each of which has its own identifier in TestOps. I need them to appear in TestOps each under their own ID. How can I decorate tests, what decorator methods should I use so that the tests are separated when uploaded to TestOps There is code in Java on how to do this, but I haven’t found an analogue in Python )
What is the current behavior?
My one parametrized test after testing will upload in testops in different cases
Please tell us about your environment:
Other information
[//]: # (![Снимок экрана 2023-09-21 в 13 16 52](https://github.com/allure-framework/allure-python/assets/81968704/89d1231f-17cb-43ef-80f5-cf0a0aa2b8af)
)