安装:pip install pytest-ordering. • 在测试方法上加下面装饰器. •@pytest.mark.last ---最后一个执行• @pytest.mark.run(order=1)---第几个执行.
確定! 回上一頁