MSTest 和 NUnit 相比有何优点/缺点?
自从 Microsoft 创建 MSTest 以来,我一直使用它进行单元测试。 我从未真正使用过 NUnit,而且我只是不喜欢在我的开发盒上安装另一个工具。 到目前为止我只使用了MSTest的基本功能,它们已经满足了我的需求,而我对NUnit一无所知。
有人可以列出使用 MSTest 和 NUnit 的一些缺点和优点吗?
Since Microsoft created MSTest, I've been using it for unit testing. I never really used NUnit, and I just didn't like the need to have yet another tool installed on my dev box. I've only used the basic features of MSTest so far, and they have satisfied my needs, and I don't really know anything about NUnit.
Could someone list out some of the disadvantages and advantages of using MSTest and NUnit compared to each other?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是一个不错的博客,其中列出了 MSTest 和 NUnit 之间的一些差异 http://blogs.msdn.com/nnaderi/archive/2007/02/01/mstest-vs-nunit-frameworks.aspx
这里的链接比较了更多的单元测试框架http://www.codeplex.com/xunit/Wiki/View.aspx?title =比较
干杯
Here is a nice blog which lists out some differences between MSTest and NUnit http://blogs.msdn.com/nnaderi/archive/2007/02/01/mstest-vs-nunit-frameworks.aspx
And this link here compares even more unit testing frameworks http://www.codeplex.com/xunit/Wiki/View.aspx?title=Comparisons
cheers
以下是 Nunit、Mstest for Visual Studio 的最新评论:
http://www.barebonescoder .com/2010/06/mstest-vs-nunit-with-visual-studio-2010-tdd/
Here's a more recent review of Nunit, Mstest for Visual Studio:
http://www.barebonescoder.com/2010/06/mstest-vs-nunit-with-visual-studio-2010-tdd/
对于.net核心:
https://dev.to/hatsrumandcode/net-core-2-why-xunit-and-not-nunit-or-mstest--aei
xUnit 中的一些新功能:
https://dev.to/franndotexe/ mstest-v2---新老孩子在块上
For .net core:
https://dev.to/hatsrumandcode/net-core-2-why-xunit-and-not-nunit-or-mstest--aei
Some new features in xUnit:
https://dev.to/franndotexe/mstest-v2---new-old-kid-on-the-block