1. 点击右上角Edit config...

Unittest下设置用unittest方式运行(也可设置用Python运行代码):_xing2516_新浪博客

2.点击+Python tests---unittests;最后选择要用unittest运行的代码文件

Unittest下设置用unittest方式运行(也可设置用Python运行代码):_xing2516_新浪博客

Unittest可设置用Python运行代码

同样 设置后,需要加上2句代码,才能用Python运行

可参考代码文件 http://blog.sina.com.cn/s/blog_48dae5760102yfv9.html


相关文章:

  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-03
  • 2022-12-23
  • 2021-12-13
  • 2021-07-16
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案