August 2010
Intermediate to advanced
1224 pages
34h 17m
English
You can choose to have your unit tests hosted and run inside of ASP.NET instead of the default VSTest host process. This is useful if you’re writing tests that work with ASP.NET objects such as Page and Session. You might want to test a Web service or some other application logic specific to your web interface. In either case, you have the option to host your ASP.NET unit tests in either IIS or the Visual Studio development server. Doing so ensures your test has full access to the ASP.NET environment variables.