其中免费单元测试框架的C#? [英] Which free unit testing framework for C#?

查看:1527
本文介绍了其中免费单元测试框架的C#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我宁愿初学者在C#中的世界(和.Net也一样),所以我决定让更有经验的开发人员一些建议。其中免费单元测试框架的C#你会建议?我碰到NUnit的,这似乎看起来有趣,但它的文档,我发现,那有版本的.Net 1.1和.Net 2.0。我需要使用它在针对.NET 3.0的项目。

I'm rather beginner in C# world (and .Net as well), so I decided to get some advices from more experienced developers. Which free unit testing framework for C# would you advise? I came across NUnit, which seemed to look interestingly, but in it's documentation I found out, that there were versions for .Net 1.1 and .Net 2.0. I need to use it in project targeted to .Net 3.0.

那么,请让我知道如果:

So, please let me know if:

  • 我可以把NUnit对于.NET 3.0的项目?

  • 还有比NUnit的更好的东西?

推荐答案

是的。 NUnit的行之有效的.NET 3.0和3.5了。

Yes. NUnit works well on .NET 3.0 and 3.5 too.

您的第二个问题是pretty的主观。 NUnit的是一种广泛使用的单元测试框架.NET。 MSTest的是另外一个是随Visual Studio中。的xUnit是另一个。有上的xUnit项目的比较:的http://xunit.$c $ cplex.com /维基/ View.aspx?标题=比较

Your second question is pretty subjective. NUnit is a widely used unit testing framework for .NET. MSTest is another one that is shipped with Visual Studio. xUnit is another one. There is a comparison on xUnit project: http://xunit.codeplex.com/Wiki/View.aspx?title=Comparisons

这篇关于其中免费单元测试框架的C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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