다음을 통해 공유


IHostedTest Interface

Definition

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.

public interface class IHostedTest
public interface IHostedTest
type IHostedTest = interface
Public Interface IHostedTest
Derived

Properties

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.

Applies to