1.参数化方式一import pytest# @pytest.mark.parametries(“a,b”,[(1,2),(2,3),(3,4)])# @pytest.mark.p…
1,在自定义固件时,在pytest.fixture装饰器中通过传入参数autouse=True来实现自动调用固件;(每个用例都会调用) 1)pytest.mark.skip(r…