解决PytestUnknownMarkWarning: Unknown pytest.mark.welcome - is this a typo? You can register custom marks to avoid this warning
笔者在学习pytest的参数配置,使用@pytest.mark 功能,有报错,写个博客记录下
@pytest.mark.webtest
在项目同名新建pytest.in文件,多个标签需要换行,且有缩进
[pytest] markers=webtest webtests