其中免费单元测试框架的C#?框架、单元测试

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

我宁愿初学者在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

阅读全文

相关推荐

最新文章