PyCharm:测试的历史?

标签 pycharm

PyCharm 是否有我在过去几个小时内执行的测试的历史记录?

背景:

我在 big_foo() 方法中启动 test_big_foo() 并注意到需要更新辅助方法。

我更新 helper_method() 并更新其单元测试 test_helper_method()

这需要一些时间。

现在我想弹出工作堆栈中的一项。

这就是为什么我想查看 PyCharm 中测试的历史记录。

我的下一步行动是重新运行 test_big_foo()

最佳答案

您可以使用 PyCharm 的Pin tab 功能:右键单击该选项卡或单击 enter image description here按钮。之后此选项卡将保留,以便您可以看到已执行的内容。

其他方法是单击导入测试结果 enter image description here按钮,这将使您可以切换到最近的测试执行:

enter image description here

关于PyCharm:测试的历史?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44327777/

相关文章:

python - Pycharm Professional 与 WSL : Cannot read environment variables set with ~/. 配置文件

python - 导入 sklearn 在 PyCharm 中不起作用

python - 从另一个目录导入 python 模块(不在站点包中!)

module - Pycharm os.get_terminal_size() 不工作

python - PyCharms 索引目录由什么决定

unit-testing - 如何在 pyCharm 中进行单元测试

python - 无法在 Pycharm 中导入包

PyCharm 5.0.4 - 显示行号

python - 控制台中出现 ImportError,但导入在 PyCharm 中正常工作

python - PyCharm 在 Docker 中添加远程 Python 解释器