什么是.NET单元测试框架,在那里有什么区别? [英] What's the difference between the .NET Unit Testing framework out there?

查看:206
本文介绍了什么是.NET单元测试框架,在那里有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听到是什么原因使一个比另一个更好的很多不同的意见。但是,任何人都可以提供技术解释,为什么我要选择一个单元测试框架,在另一个。举例来说,我使用Visual Studio Team System中。为什么我会选择一个开源测试框架(NUnit的,的xUnit,MbUnit的,等等)在Visual Studio中内置的单元测试功能?有没有关系呢?

I've heard many different opinions as to what makes one better than another. But can anyone provide a technical explanation as to why I should choose one unit testing framework over another. For example, I use Visual Studio Team System. Why would I choose an Open Source testing framework (NUnit, xUnit, MbUnit, etc) over Visual Studio's built-in unit testing capabilities? Does it matter?

编辑:要清楚,我不是在寻找一个意见哪个单元测试框架是最好的......我在寻找技术细节他们如何不同,

To be clear, I'm not looking for an opinion on "Which unit testing framework is best"...I'm looking for technical details as to how they are different,.

推荐答案

还有的<一个NUnit的,MbUnit的,MSTest的,和xUnit.net之间的属性和断言差异比较href="http://www.$c$cplex.com/xunit/Wiki/View.aspx?title=Comparisons">http://www.$c$cplex.com/xunit/Wiki/View.aspx?title=Comparisons

作为MSTest的VS开放源代码解决方案,它被广泛看出,开源软件包,特别是MbUnit的和xUnit.net是围绕在哪里单元测试的创新正在发生。

as for MSTest vs OpenSource solution, it's widely seen that the open source packages, in particular MBUnit and xUnit.net are where the innovation around unit testing is occuring.

这是说,现在的Peli日Halleux 正在为MS和生产INOVATION喜欢的 Pex的的事情可能会改变。

That said, now that Peli de Halleux is working for MS and producing inovation like Pex things could change.

这篇关于什么是.NET单元测试框架,在那里有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆