Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to

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


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 long IDs)


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


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 should be considered. 

Posted on Wednesday, June 20, 2007 2:12 AM ASP.NET , Testing/Debugging/Logging | Back to top

Comments on this post: Unit Testing ASP.NET Applications

# re: Unit Testing ASP.NET Applications
Requesting Gravatar...

As a disclaimer, aspNETserve is a project that I created... but, have you considered it. You can check it out at

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.
Left by Jason Whitehorn on Jun 20, 2007 11:19 AM

# Link Listing - June 20, 2007
Requesting Gravatar...
Silverlight on Linux Already [Via: Jesse Ezell ] VS 2008 Multi-Targeting Support [Via: ScottGu ] Model-View-Presenter...
Left by Christopher Steen on Jun 20, 2007 3:16 PM

# Problems with WatiN testing of multi-level Frames page

# re: Unit Testing ASP.NET Applications
Requesting Gravatar...
Please check out Ivonna (
Left by Ulu on Oct 09, 2008 4:50 AM

Your comment:
 (will show your gravatar)

Copyright © Michael Freidgeim | Powered by: