1.pycharm中设置pytest为默认运行

1.打开File-setting

2.打开Tools-Python Integrated Tools

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

4.点Apply。

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

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

6.使用nose运行

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

相关文章:

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