[TDD][ASP.NET] Some help for unit testing server-side ASP.NET

Published 12 August 04 09:20 PM | CSharpener

In the "Why didn't I think of this?" category falls a very helpful new article, "Server-Side Unit Testing in ASP.NET: How to create an HttpContext outside of IIS" by Steven Padfield, who did think of it.  I started down this path, once upon a time, but didn't follow through.  Padfield's approach is potentially helpful when you want to integrate NUnit testing with ASP.NET (not an easy task, unfortunately!).

Note: As commenter Eric Newton mentioned, you can also examine the code from the Cassini simple web server sample at ASP.net to get a thorough understanding of how ASP.NET code is hosted.  Thanks, Eric!

Comments

# Eric Newton said on August 13, 2004 01:29 AM:

dont forget, you could also look through Cassini's code [which I poured over eagerly trying to understand how asp.net is hosted]

# Daniel Williams said on November 17, 2006 02:20 PM:

The link to Server-Side Unit Testing in ASP.NET... isn't working.  Do you have a new link?

Leave a Comment

(required) 
(required) 
(optional)
(required) 

This Blog

.NET Languages

Architecture

Blogs I Read

CSharp

DotNet

General

Graphics

Other Languages

Semantic Web

The Human Factor

Tools

Unology

XML

ZZZ-Subscribe to this Weblog

Syndication