What is the best way to do unit testing for ASP.NE

2019-01-21 13:14发布

Any suggestions? Using visual studio in C#.

Are there any specific tools to use or methods to approach this?

Update:

Sorry, I should have been a little more specific. I am using ASP.Net 2.0 and was looking more for a tool like jUnit for Java. I took a look at NUnit and NUnitAsp and that looks very promising. And I didn't even know that Visual Studio Pro has a testing suite, so I'll look at all of these options (I've just started using Visual Studio/Asp.net/C# this summer).

7条回答
冷血范
2楼-- · 2019-01-21 14:01

Take a look at http://selenium.openqa.org/ it offers a good automated way to build unit tests hooking into the browser. there is a nice firefox plugin for recording tests and can utilize almost any unit testing framework. We had a presentation/demo at our local user group meeting last month and it looked awesome.

查看更多
登录 后发表回答