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

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!

2 Comments

Comments have been disabled for this content.