我想在不预先配置断点的情况下使用PyCharm的内置Pytest运行程序和调试器.
问题是我的测试中的异常被Pytest捕获,因此PyCharm的post mortem调试器无法处理异常.
我知道使用断点工作,但我不想两次运行我的测试.
在Unittest中找到了这样做的方法,我想知道Pytest中是否存在这样的东西.
有没有办法用PyCharm捕获unittest异常?
python debugging unit-testing pytest pycharm
debugging ×1
pycharm ×1
pytest ×1
python ×1
unit-testing ×1