Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

allure 和 pytest.mark 不应该混淆

未关闭
#783 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
python
领域
testing-qa

调研方向

首先,在所述的 Python 3.9.0、allure 2.17.2 和 allure-pytest 2.13.2 环境中,使用提供的装饰器代码片段复现报告中的行为。检查负责处理 pytest 标记的 allure-pytest 集成入口点,将生成的标签与附加的屏幕截图及预期行为进行比较,并在确认预期结果后添加回归测试。

由索引模型根据 Issue 内容生成。

描述

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.
What is the current behavior?

不应该出现的标签

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
@allure.link("https://www.baidu.com/", name="baidu")
@allure.issue("https://www.baidu.com/", "BUG")
@allure.testcase("YHZ-123")
@pytest.mark.repeat(1)
@pytest.mark.parametrize("coupons_type", [1, 2])
def xxx():
      pass

image

What is the expected behavior?
   预期结果,allure 和 pytest.mark 不应该 混淆
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
  Python = 3.9.0
  allure = 2.17.2
  allure-pytest = 2.13.2
Other information
主要语言
Python
星标
820
派生
262
平均合并
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 摘要。