PytestAutoApi icon indicating copy to clipboard operation
PytestAutoApi copied to clipboard

在使用过程中发现有在case执行前执行自定义函数的需求,参照setup_sql增加了该功能

Open AkitoZz opened this issue 1 year ago • 0 comments

Reason: 增加setup_func的依赖字段 Describe: 在yaml文件中可以增加setup_func字段,类型为list,配置自定义函数,将执行的结果放到dict中,可以在setup_func_crontrol中增加自定义函数 TraceId:

image

AkitoZz avatar Sep 08 '24 11:09 AkitoZz