1.打开File-setting

2.打开Tools-Python Integrated Tools

3.找到Default test runner选项,在下拉框中选择py.test

4.点Apply。

5.在运行时会出现py.test的运行选项

2、pycharm中设置pytest为默认运行

 

相关文章:

  • 2022-12-23
  • 2021-11-14
  • 2021-12-24
  • 2021-08-15
  • 2021-06-25
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2021-11-27
  • 2021-08-16
  • 2021-07-15
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案