allure-framework / allure-framework/allure-python
Add ability to add parametr to name of paramerised test case
- Dominant language
- Python
- Stars
- 814
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
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.

```
@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.

#### Please tell us about your environment:
- Allure version: 4.21.0
- Test framework: pytest@7.4.0
- Allure adaptor: allure-pytest@2.13.2
Contributor guide
Research direction
Start by reproducing the provided example with allure-pytest and pytest.mark.parametrize, then inspect how @allure.title and parameterized cases are represented in the existing integration. Clarify the intended syntax and naming rules before changing anything; done means parameterized test names expose the selected parameter clearly in the Allure report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100