摘要:
使用pytest.ini添加自定义用例标识: [pytest] # 1、使用没有注册过的标记抛出错误 addopts = --strict-markers # 2、自定义标记 markers = smoking: 自定义冒烟用例的标记;执行非冒烟用例 pytest -m "not smoking" 阅读全文
posted @ 2020-10-10 22:19
拖延症的理想主义者
阅读(246)
评论(0)
推荐(0)
摘要:
#!/usr/local/bin/python3 # -*- coding: utf-8 -*- import pytest __author__ = "Carp-Li" __date__ = "2020/10/10" class TestClassCase: @pytest.mark.parame 阅读全文
posted @ 2020-10-10 22:15
拖延症的理想主义者
阅读(114)
评论(0)
推荐(0)