Unit Testing ASP.NET Applications

I will put a few links related to ASP.NET unit testing.

WATIN

Initially I saw reference to WATIR from Scott Hanselman's post Integrating Ruby and Watir with NUnit .

Recently I've found WatiN Web Application Testing In .Net, including articles WatiN - Web Application Testing In .Net - The Code Project - ASP.NET and WatiN Test Recorder - The Code Project .(The home page for WatiN Test Recorder is here

There is interesting article by Jeremy D. Miller   with comment from ScottGu recommending WatiN .

Using regular expressions in WatiN (e.g. for asp.net long IDs)

 

Also WatiNFixture is a custom fixture for FitNesse - acceptance testing framework.

VSTS ASP.NET tools

From MSDN Overview of ASP.NET Unit Tests  it seems, that you can only test business classes in App_code. However there is a blog post describing Testing the page object for an ASP.NET site  .

HttpRuntime simulator.

To simulate ASP.NET server functionality(i,e.HttpRuntime I am using class based on Haacked's  HttpSimulator. May be http://www.codeplex.com/plasma should be considered. 

posted @ Wednesday, June 20, 2007 2:12 AM

Print

Comments on this entry:

# re: Unit Testing ASP.NET Applications

Left by Jason Whitehorn at 6/20/2007 11:19 AM
Gravatar
Hey,

As a disclaimer, aspNETserve is a project that I created... but, have you considered it. You can check it out at http://www.codeplex.com/aspNETserver/

If you have any comments or criticisms about how aspNETserve could be used to facilitate ASP.NET unit testing, let me know. I would be glad to see how to incorporate those ideas into my project.

# Link Listing - June 20, 2007

Left by Christopher Steen at 6/20/2007 3:16 PM
Gravatar
Silverlight on Linux Already [Via: Jesse Ezell ] VS 2008 Multi-Targeting Support [Via: ScottGu ] Model-View-Presenter...

# Problems with WatiN testing of multi-level Frames page

Left by Michael Freidgeim at 7/3/2007 12:58 AM
Gravatar

Your comment:



 (will not be displayed)


 
 
 
Please add 5 and 6 and type the answer here:
 

Live Comment Preview:

 
«September»
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011