Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace

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.

  ClassDescription
Public classAspNetDevelopmentServerAttributeSpecifies the settings that must be used for the ASP.NET Development Server for the test. This is primarily used for Web service unit tests.
Public classAspNetDevelopmentServerHostAttributeSpecifies 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.
Public classCredentialAttributeSpecifies the user name and password for ASP.NET sites that require basic authentication or Windows authentication. This class cannot be inherited.
Public classUrlToTestAttributeSpecifies the URL that should be requested to give context to the test. This class cannot be inherited.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.