NUnit 可以与 .NET 3.5 一起使用吗?
我刚刚开始学习单元测试(以及一般的 TDD)。 我的问题是最新版本的 NUnit 是否支持在 VS2008 和 .NET 3.5 中工作? 我查看了 NUnit 的文档页面,但他们没有提到它。
如果有人在 3.5 中使用过它,是否有任何限制或功能不起作用/需要解决方法?
I'm just getting started with learning about Unit testing (and TDD in general). My question is does the latest version of NUnit support working in VS2008 with .NET 3.5? I've looked at the documentation pages at NUnit and they don't mention it.
If anyone has worked with it in 3.5 are there any limitations or features that don't work/need workarounds?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我一直在使用 nUnit 3.5。 只要您有一个适用于 2.0 的版本,您就应该没问题 - 相同的 CLR 等等。 :)
I've been using nUnit with 3.5. As long as you have a version that works with 2.0 you should be fine - same CLR and all that. :)
是的。
.Net 3.5主要是重新包装和营销。 .Net 3.5 中的 .Net 核心实际上是 .Net 2.0。
因此,您为 .Net 2.0 找到的任何实用程序也可以应用于 .Net 3.5。
对于 NUnit,这意味着 .Net 2 版本就是您想要的版本。
Yes.
.Net 3.5 is mostly re-packaging and marketing. The .Net core within .Net 3.5 is actually .Net 2.0.
So any utility that you find for .Net 2.0 you can also apply to .Net 3.5.
For NUnit this means that the .Net 2 version is the one that you want.
我没有发现任何限制。
No limitations that I have found.
是的,它确实。
版本 2.5.5 也适用于 .NET 4.0。
如果您刚刚开始,您应该知道 NUnit 也正在经历一些重大变化。 您可以从新主页中看到,他们正在使 NUnit 不断成熟,以在 .网。
Yes it does.
Version 2.5.5 works with .NET 4.0 as well.
If you're just starting out, you should know that NUnit is going through some significant changes too. You can see from the new home page that they are maturing NUnit to include some of the new features in .NET.
检查要遵循的步骤 http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/365fd6ef-0fa5-4eeb-b2d5-7c2f795b1f8c?prof=required
Check the steps to follow at http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/365fd6ef-0fa5-4eeb-b2d5-7c2f795b1f8c?prof=required