Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
问题几乎总结了它。我按下 Ctrl-U,R 来运行我的测试。大多数时候,我只有一个测试会话,但 Resharper 每隔一段时间就会添加一个测试会话。我最终得到了许多必须一一关闭的 Resharper 测试会话窗口。我能阻止这一切吗?
如果现有会话仍在运行或已锁定(请参阅挂锁图标),ReSharper 将创建一个新会话。除此之外,它应该重用现有会话 - 除了使用“运行当前会话”快捷方式之外,你无能为力 - 检查菜单项的内容,它在 VS 或 IntelliJ 键盘布局中有所不同。
检查您的测试是否确实已停止 - 如果它们仍在运行,则您的代码(或 ReSharper 的!)中可能存在错误