“使用调试器进行测试”在 ReSharper 中?

发布于 2024-09-26 17:52:54 字数 93 浏览 3 评论 0原文

“TestDriven.NET”有一个很棒的功能,称为“使用调试器进行测试”。 ReSharper中有类似的东西吗?

尝试用谷歌搜索这个,但找不到任何东西。

"TestDriven.NET" has a great feature called "test with debugger". Is there anything like this in ReSharper?

Tried googling this, but can't find anything.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

多孤肩上扛 2024-10-03 17:52:54

如果您的意思是,您可以在调试中使用断点运行测试,那么您可以在 ReSharper 中执行此操作。

http://www.jetbrains.com/resharper/features/unit_testing.html

If you mean, can you run a test in debug with breakpoints then yes you can do that in ReSharper.

http://www.jetbrains.com/resharper/features/unit_testing.html

独自←快乐 2024-10-03 17:52:54

ReSharper 没有这个功能。您必须坚持使用 TestDriven.NET 才能使用此功能。或者更好地将完整的测试添加到您的项目中,然后您将能够在调试器中运行它们(通过 ReSharper)。

ReSharper does not have this exact feature. You have to stick with TestDriven.NET for this feature. Or better add full-blown tests to your project, and then you'll be able to run them in debugger (via ReSharper).

莳間冲淡了誓言ζ 2024-10-03 17:52:54

只是想补充一点,在 VS2012 中现在有一个内置功能“调试选定的测试”。它的作用完全相同。

附言。实际上,我(个人发现vs2012非常好,几乎不需要Resharper或Productivity-Power-Tools......开箱即用非常好......抱歉,只是个人意见。

Just wanted to add, that in VS2012 there's now a built-in feature "Debug selected test". It does exactly the same.

PS. Actually, I (personally found that vs2012 is so good it almost doesn't need Resharper or Productivity-Power-Tools... It's quite good out of the box.. Sorry, just a personal opinion.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文