pytest用例传参的多种方式

1、接收外部传参

*函数获取需要的参数,再传入

*函数获登录信息,直接使用

2、其它方式传参

*依据dict取值

 *tuple数组

原文地址:https://www.cnblogs.com/liudieluo/p/11474890.html