摘要: pytest第三方插件,用来解决用例之间的依赖关系。如果依赖的用例执行失败后 后续的用例会被跳过执行,相当于智能执行了pytest.mark.skip, 首先要安装插件:pip install pytest-dependency 使用: 第一步:在被依赖的用例上打上标签@pytest.mark.de 阅读全文
posted @ 2021-11-15 14:19 小幸运|| 阅读(523) 评论(1) 推荐(0) 编辑