Automated Testing NET Web Services and Applications I just found Jim Klo
Automated Testing .NET Web Services and Applications
I just found Jim Klopfenstein's Executing ASMX files without a web server article. Jim's code could simplify most Web Service unit testing. And since it doesn't need IIS, or even ASP.NET, it would be easy to run during automated builds. Jim doesn't say, but I wouldn't be surprised if this is the reason he was trying to get this working.
I haven't thought much about it but you should be able to do the same thing for ASPX files. Has someone already done this?
Interesting! I knew that Cassini (the ASP.NET "Host ASPNET_WP.EXE yourself" sample) and Web.Hosting, once "discovered", would cause good things to be built. I'm sure if this was combined with my friend Jim Little's NUnitASP it could all be run within a NAnt automated build.
I wonder how hard it would be to insert an .NET interception layer/proxy server in between a Web Browser and ASP.NET to record the HTTP GETs and POSTs into a simple XML "recorder" file. These could then be played back as part of an NUnit/NUnitASP Test and added to the build. Regular expressions and and maybe an SGMLReader, also stored in the XML could validate the reponses...then I could stop using LoadRunner or SilkPeformer...
Has this app already been written?