将 NCrunch 与 Resharper 结合使用

发布于 2024-11-17 08:31:25 字数 142 浏览 2 评论 0原文

在日常使用中,NCrunch 与 ReSharper 的配合效果如何?它们可以并行运行而不会出现任何(可用性)故障吗?性能还可以吗?有什么要注意的吗? ReSharper 测试运行程序仍然有效吗?

In a day to day usage, how well does NCrunch play with ReSharper? Can they be run side by side without any (usablilty) glitches? Is performance still OK? Anything to watch out for? Does the ReSharper testrunner still work?

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

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

发布评论

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

评论(4

南风几经秋 2024-11-24 08:31:25

我使用两者都没有问题。我只使用 Resharper 测试运行器进行调试 - 有时它会提供更好的错误反馈。您确实需要一台用于 NCrunch 的多核机器。它总是尝试在 VS 未使用的核心上运行,因此不会影响 VS 性能。 Resharper 更精简,但与 VS 运行在相同的核心上,因此对性能的影响更大。

I use both with no issues. I only use the Resharper test runner for debugging - it sometimes it gives better error feedback. You really need have a multicore machine for NCrunch. It always tries to run on the core that VS isn't using so it won't affect VS performance. Resharper is leaner but runs on the same core as VS so it will harm performance more.

压抑⊿情绪 2024-11-24 08:31:25

我使用 ReSharper 6 和 NCrunch。如果您拥有多核机器(并且您是 TDD 人士),那么 NCrunch 是必备的。从测试的角度来看,它会不断反馈您的代码的外观。它会立即向您显示测试覆盖范围 - 很棒的助手。另一方面,ReSharper 对我来说是一个重构工具。

我像以前一样使用 ReSharper 运行测试,NCrunch 始终在后台运行。

从我时不时发现的情况来看,NCrunch 和 ReSharper 报告测试失败,而另一个则报告一切正常。每次遇到这样的情况都会发现代码中有问题。当 NCrunch 设置为并行运行时,可能会发现一些新的缺陷:)

恕我直言,它们是相辅相成的。

I use ReSharper 6 and NCrunch. If you have a multi-core machine (and you're a TDD person) than NCrunch is a must have. It gives a constant feedback of how your code looks like from the tests point of view. It instantly shows you test coverage - great sidekick. ReSharper on the other hand is a refactoring tool for me.

I run tests with ReSharper like I used to, NCrunch works in a background all the time.

From what I've spotted from time to time NCrunch and ReSharper report failing tests when the other one reports everything fine. Each time in a situation like this it turns out that there is something wrong in the code. When NCrunch is set to run in parallel some new flaws may be found :)

IMHO they both complement each other.

悲凉≈ 2024-11-24 08:31:25

我现在使用 NCruch 有一段时间了,与 Resharper NCrunch 结合使用

非常棒,但请注意 NCrunch 现在仍处于测试阶段,并且它仍然时不时地存在一些粗糙的边缘

我的 NCrunch 安装有时无法“看到”最新的来源并开始抱怨无法编译。我在动态转换方面也遇到了一些问题,

但对于其余的,这是一个很棒的工具。 TDD 太棒了!

顺便说一句: http://continuoustests.com/ 也可能值得一看:-)

I'm using NCruch for a while now in combination with Resharper

NCrunch is great, but be mindfull that NCrunch is still in beta now, and that it still has some rough edges from time to time

My NCrunch installation sometimes doesn't "see" the latest sources and starts complaining that in can't compile. I've also had some problems with casting from dynamic

But for the rest, a great tool. TDD rocks!

BTW: http://continuoustests.com/ might be worth a look too :-)

陈甜 2024-11-24 08:31:25

当 Resharper 解决方案分析和 nCrunch 都运行时,它会冻结我的文本编辑器。

对于我的六核来说太多了。

解决方案是 14 个项目和大约 120k 行代码。

When Resharper solution analysis and nCrunch boths runs it freezes my text editor.

Too much for my six cores.

Solution is 14 projects and about 120k lines of code.

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