Share via


IHostedTest Members

Include Protected Members
Include Inherited Members

A test type that implements the IHostedTest interface or inherits from a class that implements the IHostedTest interface can be hosted by a host adapter. Custom test types are usually derived from the TestElement class, and the TestElement class implements the IHostedTest interface. Consequently, any test type that derives from TestElement can be hosted by a host adapter.

The IHostedTest type exposes the following members.

Properties

 

Name

Description

Public property

HostType

The IHostedTest.HostType string identifies a host. Testers can use this string in the HostType attribute on a custom test to specify a host in which to run that test.

Top

See Also

Reference

IHostedTest Interface

Microsoft.VisualStudio.TestTools.Common Namespace