Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Add ability to add parametr to name of paramerised test case

未關閉
#770 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
30/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python
領域
testing

研究方向

首先使用 allure-pytest 和 pytest.mark.parametrize 重現所提供的範例,接著檢查現有整合中如何表示 @allure.title 和參數化案例。在進行任何變更之前,釐清預期的語法和命名規則;當參數化測試名稱在 Allure 報告中清楚地顯示所選參數時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

task:new feature

Hello.

I'm submitting a ...
  • bug report
  • 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:
主要語言
Python
星號
819
分支
261
平均合併
3 小時 20 分鐘
30 天內合併 PR
3

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

allure-framework/allure-python 的其他 Issue

查看 allure-framework/allure-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。