前言
编写nose 自动化测试用例时,有些场景需要重复循环运行,才有可能踩到Bug,为了让nose 用例能够支持循环运行,特意写了一个装饰器,能够指定nose测试用例的循环次数。
代码
def loop_run():
"""
2018-07-09