问题描述
有了 Visual Studio 2008 的框架,我是否因为不使用像 NUnit 这样的外部工具而遗漏了什么?据我所知,使用 NUnit 似乎比手动创建测试类和方法更麻烦,而不是右键单击 IDE 本机.话虽如此,我是否缺少 NUnit 提供的 VS 不包含的功能?有一个简单的 GUI 供我的 QA 人员访问很好,但是使用 nAnt 和对单元测试通过的构建依赖项,我是否缺少很酷的功能?
With the framework that Visual Studio 2008 has, am I missing anything great by NOT using an external tool like NUnit? From what I can tell it seems like using NUnit would be more of a hassle with manually creating test classes and methods versus the right clicking native to the IDE. That being said, am I missing features that NUnit provides that VS doesn't contain? Having a simple GUI for my QA people to access is fine and all, but using nAnt and the build dependencies on unit tests passing, am I missing cool features?
推荐答案
Roy Osherove 最近刚刚写了一篇 博客文章 总结了 NUnit 和 MSTest 之间的差异.我认为它回答了你的问题.
Roy Osherove just wrote a recent blog post summarizing the differences between NUnit and MSTest. I think it answers your question.
他得出的结论是 NUnit 在单元测试方面胜出,但 MsTest 在基于集成的测试和使用 Team System 进行团队测试方面的能力要强得多.
He concludes that NUnit wins for Unit Testing, but MsTest has much better abilities for integration based testing and team testing with Team System.
这篇关于NUnit 和 Microsoft 的单元测试框架 (VS 2008) 之间有真正的区别吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!