【笔记】Pytest学习笔记 --待完善

Pytest参数介绍和使用

  • -v —输出执行的方法和进度
  • -s —输出print的打印信息
  • 文件名::类名 —执行指定类名
  • -k 文件名::类名::方法名 —跳过某个方法不执行
  • reruns 3
  • reruns 3 reruns-delay 2