allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

Add ability to add parametr to name of paramerised test case

Open KatrinTor opened this issue 2 years ago • 2 comments

Hello.

I'm submitting a ...

  • [ ] bug report
  • [x] feature request
  • [ ] support request => Please do not submit support request here, see note at the top of this template.

It would be great to have ability to add parameter to name of parameterized test case.

What is the current behavior?

If I have a huge number of parameters in my test case it becomes tricky to find righr one in allure report. image

@allure.title('TEST')
@pytest.mark.parametrize('browser_manager', [param1, param2, param3, param4, param5, param6], indirect=True)
def test():
 with allure.step('1'):
 pass
with allure.step('2'):
pass

What is the expected behavior?

It would be great to have ability to add parameter to name of parameterized test case. test

Please tell us about your environment:

KatrinTor avatar Oct 03 '23 09:10 KatrinTor

Seems related to https://github.com/allure-framework/allure-python/issues/341

Allure guys: a this is a feature in demand! Doesn't seem that hard to fix/implement either.

joaonc avatar Nov 08 '23 19:11 joaonc