PyDev 和单元测试,没有显示时间/成功运行的摘要?
查看 PyDev 的文档及其位于 Pydev 站点 的测试集成,屏幕截图显示了每个测试的输出以及如何进行测试测试运行需要很长时间。然而,当我运行它时,输出中仅显示失败的测试,即使这样,所花费的时间也是空的。我尝试提高 pyunit testrunner 配置中的详细程度,但这只是向系统窗口提供了更多输出,而不是 PyUnit 窗口。有人知道如何解决这个问题吗? (这是 4/4 PyDev 2.0 版本的内容)
Looking at the documentation for PyDev and it's test integration at The Pydev Site the screenshot shows output for each test with how long it took the test to run. However when I run it only failed tests show in the output, and even then the time it took is empty. I've tried upping the verbosity in the pyunit testrunner config, but that just gave more output to the system out window, not the PyUnit window. Anyone know how to fix this? (This is with the 4/4 PyDev 2.0 release)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,PyUnit 视图上的第一个左上角按钮似乎是按下的。如果将鼠标悬停在它上面,它会显示:“如果按下,仅显示错误和失败”。单击它也可以看到成功的运行。
The first top-left button on the PyUnit-view seems to be pressed by default. If you hover over it it says: "If pressed, shows only errors and failures". Klick it to also see successful runs.