摘要: 使用方法 @pytest.mark.name_of_the_mark,其中name_of_the_mark是自定义标记的名字,举个例子,下面定义了3个,对方法、函数都可以进行标记 # @File : test_001.py import pytest @pytest.mark.testa class 阅读全文
posted @ 2021-05-19 13:20 七亿星空 阅读(128) 评论(0) 推荐(0) 编辑