摘要: 1.用例顺序 setup_module setup_class setup_method teardown_method teardown_class teardown_module 2. 使用pytest-order控制用例之间的顺序控制,直接引用官方例子: 第一种方法: import pytes 阅读全文