ASP.NET Applications – Testing

asp.nettesting

We are building ASP.NET applications using VSTS (Visual Studio Team System) 2008 as IDE & C#.NET as Programming Language.

Would you please let me know whether we could test these applications using VSTS 2008? If so would you please provide the details?

Are there any other VSTS integrated tools / third-party tools which we could use for testing the web applications. The testing could be Unit/Functional/Load Testing etc.

Many thanks.

Regards,
Reshma.

Best Answer

That question is a tough one.

If you did not separate your business logic from your UI logic in your web forms, no, this is not going to be easily testable. But that is not depending on VSTS or any other testing framework but on the 'qualility' and testability of your code solely.

If you really want to test your application, you should try to use the ASP.NET MVC framework. It's designed to being well testable, and if applied correctly you end up with clean, testable code.

Any testing framework (NUnit, MSpec, the VSTS-built in Framework etc.) will do just fine.

If you want to test your Web-GUI you may want to have a look at Web UI Test studio from Telerik. Even if I had very bad experience with their ASP.NET controls in terms of performance and testability, this testing tool seems to work fine.

Related Topic