The Microsoft.VisualStudio.TestTools.UnitTesting.Web namespace is an extension of the Microsoft.VisualStudio.TestTools.UnitTesting namespace that provides ASP.NET and Web service unit test capabilities. This namespace provides a set of attributes to unit tests that define credentials, URLs, and server specific information.
Classes
| Class | Description | |
|---|---|---|
| .gif) | AspNetDevelopmentServerAttribute | Specifies the settings that must be used for the ASP.NET Development Server for the test. This is primarily used for Web service unit tests. | 
| .gif) | AspNetDevelopmentServerHostAttribute | Specifies the settings to use when an ASP.NET Development Server is the host server for the test. This is used for ASP.NET unit tests. | 
| .gif) | CredentialAttribute | Specifies the user name and password for ASP.NET sites that require basic authentication or Windows authentication. This class cannot be inherited. | 
| .gif) | UrlToTestAttribute | Specifies the URL that should be requested to give context to the test. This class cannot be inherited. |