@pytest.mark.run(order=1)
@pytest.mark.run(order=2)
@pytest.mark.run(order=3)
注解不能控制执行顺序,原因为当前python环境未安装pytest-ordering
pip install pytest-ordering
在执行脚本的python环境下安装pytest-ordering后解决问题
@pytest.mark.run(order=1)
@pytest.mark.run(order=2)
@pytest.mark.run(order=3)
注解不能控制执行顺序,原因为当前python环境未安装pytest-ordering
pip install pytest-ordering
在执行脚本的python环境下安装pytest-ordering后解决问题