.NET Framework上的单元测试和Web测试?

时间:2021-10-01 13:51:37

I would like to know what a Unit test and Web Test is in the .NET Framework and What are the difference between these tests? and How does it affect with the implementation of the CSLA.NET? Please help, thanks!

我想知道.NET Framework中的单元测试和Web测试是什么,这些测试之间有什么区别?它如何影响CSLA.NET的实现?请帮忙,谢谢!

2 个解决方案

#1


I guess you're referring to using MSTest under Visual Studio where they have two modes - testing of code or testing of web site via http calls.

我猜你指的是在Visual Studio下使用MSTest,它们有两种模式 - 代码测试或通过http调用测试网站。

When developing in .NET a developer can choose from several Unit Testing Frameworks such as MSTest - NUnit, MBUnit, XUnit etc. for more information have a look at this question.

在.NET中开发时,开发人员可以从多个单元测试框架中进行选择,例如MSTest - NUnit,MBUnit,XUnit等等。有关详细信息,请查看此问题。

The term Unit Testing refer to a broader field - you can read about it here.

单元测试这个术语指的是更广泛的领域 - 你可以在这里阅读它。

Unit testing refers to the programmer writing simple small tests to verify his code actually work and as such does not effect the implementation of CLSA.NET.

单元测试是指程序员编写简单的小测试来验证他的代码实际工作,因此不会影响CLSA.NET的实现。

#2


I would like to know what a Unit test and Web Test is in the .NET

我想知道.NET中的单元测试和Web测试是什么

Do you mean, what unit tesing frameworks are there for .NET ? I recommend you NUnit

你的意思是,.NET有哪些单元测试框架?我推荐你NUnit

#1


I guess you're referring to using MSTest under Visual Studio where they have two modes - testing of code or testing of web site via http calls.

我猜你指的是在Visual Studio下使用MSTest,它们有两种模式 - 代码测试或通过http调用测试网站。

When developing in .NET a developer can choose from several Unit Testing Frameworks such as MSTest - NUnit, MBUnit, XUnit etc. for more information have a look at this question.

在.NET中开发时,开发人员可以从多个单元测试框架中进行选择,例如MSTest - NUnit,MBUnit,XUnit等等。有关详细信息,请查看此问题。

The term Unit Testing refer to a broader field - you can read about it here.

单元测试这个术语指的是更广泛的领域 - 你可以在这里阅读它。

Unit testing refers to the programmer writing simple small tests to verify his code actually work and as such does not effect the implementation of CLSA.NET.

单元测试是指程序员编写简单的小测试来验证他的代码实际工作,因此不会影响CLSA.NET的实现。

#2


I would like to know what a Unit test and Web Test is in the .NET

我想知道.NET中的单元测试和Web测试是什么

Do you mean, what unit tesing frameworks are there for .NET ? I recommend you NUnit

你的意思是,.NET有哪些单元测试框架?我推荐你NUnit