在项目下新建一个pytest.ini的配置文件,里面如下配置即可。markers=后面是标签名,如有多个,第二个开始要换行,且要缩进,不然会报错
[pytest] markers=welcome login
原文地址:https://www.cnblogs.com/my_captain/p/12704370.html
时间: 2024-08-30 14:31:07
在项目下新建一个pytest.ini的配置文件,里面如下配置即可。markers=后面是标签名,如有多个,第二个开始要换行,且要缩进,不然会报错
[pytest] markers=welcome login
原文地址:https://www.cnblogs.com/my_captain/p/12704370.html