Pycharm 关闭/退出烦人的Pytest模式

Pycharm 遇到:Run Python tests in ***.py ,但很多时候我们并不需要,真心烦人!

如何解决:

1 打开File-Settings

(图片是新版界面,旧版同样操作)

2 Tools 中的Python Integrated Tools

在Testing 里 选择 Unittests就好了

相关推荐
2601_962387822 小时前
web自动化测试实战教程【selenium/unittest/pytest】【共193课
selenium·pytest·devops·web自动化测试·unittest
weixin_440730503 小时前
使用pytest中方法控制执行步骤(test_begin.py、test_end.py,@pytest.mark.run(order=1))
开发语言·python·pytest
2601_962297254 小时前
Python、Pytest、Allure、Selenium和Jenkins实现自动化测试集成实例
python·selenium·jenkins·pytest·allure
2601_962298938 小时前
pycharm如何添加python解释器
pycharm·项目管理·虚拟环境·python解释器·设置步骤
2501_915106328 小时前
第一次开发 iPhone App,可能碰到的问题,解决办法
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
OsDepK1 天前
xcode应用构建至testflight测试流程
ide·macos·xcode
frjc1 天前
如何在 IDEA 中打开并运行已有Java项目
java·ide·intellij-idea
2601_962077601 天前
从零搭建Python接口自动化测试框架:pytest+requests实战指南
python·pytest·接口自动化·requests·框架搭建
weixin_440730501 天前
pytest结合allure生成html测试报告(step、story、severity、screenshot)
前端·html·pytest·allure报告
拜托多多指教1 天前
【Pytest框架学习】分层架构
python·pytest