花费 5 ms
pytest 跳过测试用例

(一)无条件跳过 使用装饰器标记它 @pytest.mark.skip(reason="接口还有问题,暂时跳过") 在方法或函数中使用它 def test_function(): ...

Mon Jan 17 05:47:00 CST 2022 0 954

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM