Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Microsoft.VisualStudio.TestTools.Execution Namespace

 

The Microsoft.VisualStudio.TestTools.Execution namespace provides classes and interfaces that enable, manage, and coordinate the execution of tests in Visual Studio Test Professional. This namespace includes the T:Microsoft.VisualStudio.TestTools.Execution.IDataCollector interface, which you use to create custom diagnostic data adapters to automatically execute tasks within test runs, and the T:Microsoft.VisualStudio.TestTools.Execution.ITestExecutionEnvironmentSpecifier, which lets you specify the environment settings for tests on remote machines.

ClassDescription
System_CAPS_pubclassAgentContext

Encapsulates the context of the agent environment.

System_CAPS_pubclassBasicTransferInformation

Collects information that is required to request a file or stream transfer from a diagnostic data adapter.

System_CAPS_pubclassControllerContext

Represents the current context for a test controller.

System_CAPS_pubclassCustomCollectorData

System_CAPS_pubclassCustomCollectorGenericErrorData

System_CAPS_pubclassCustomNotificationEventArgs

Provides a base class for event argument classes that are used in custom diagnostic data adapters.

System_CAPS_pubclassDataCollectionContext

Represents the context in which data collection occurs.

System_CAPS_pubclassDataCollectionEnvironmentContext

Encapsulates the environment where a diagnostic data adapter is hosted.

System_CAPS_pubclassDataCollectionEventArgs

The base class for all execution event arguments.

System_CAPS_pubclassDataCollectionEvents

Defines the execution events that diagnostic data adapters can register.

System_CAPS_pubclassDataCollectionLogger

Sends error messages for diagnostic data adapters to the client, which can be the test runner, Visual Studio IDE, or Visual Studio Test Professional.

System_CAPS_pubclassDataCollectionSink

Diagnostic data adapters use a DataCollectionSink to store files and XML data for later attachment to bugs and test reports.

System_CAPS_pubclassDataCollector

Provides a base class for custom diagnostic data adapters.

System_CAPS_pubclassDataCollectorConfigurationEditorAttribute

Specifies the configuration editor that the testing framework should use to configure the diagnostic data adapter.

System_CAPS_pubclassDataCollectorConfigurationEditorTypeUriAttribute

Identifies a diagnostic data adapter configuration editor in the form of a uniform resource identifier (URI).

System_CAPS_pubclassDataCollectorDescriptionAttribute

Attaches a description to a custom diagnostic data adapter.

System_CAPS_pubclassDataCollectorEnabledByDefaultAttribute

Designates that the diagnostic data adapter class is enabled by default when the adapter is listed in the Test Manager user interface (UI).

System_CAPS_pubclassDataCollectorFriendlyNameAttribute

Defines a friendly name for the diagnostic data adapter.

System_CAPS_pubclassDataCollectorNotifications

Used by custom test adapters to raise events for diagnostic data adapters.

System_CAPS_pubclassDataCollectorSettings

Reads and updates the configuration settings and static data for a diagnostic data adapter.

System_CAPS_pubclassDataCollectorSupportsTailoredApplicationsAttribute

System_CAPS_pubclassDataCollectorTypeUriAttribute

Uses a URI to uniquely identify the type of a diagnostic data adapter.

System_CAPS_pubclassDataCollectorVersionObsoleteAttribute

System_CAPS_pubclassDataRequestEventArgs

Event arguments class for DataRequest events.

System_CAPS_pubclassExecutionUtilities

Provides utility methods to help execute and debug tests.

System_CAPS_pubclassFileTransferInformation

Represents information that is required to request a file transfer.

System_CAPS_pubclassMediaRecorderCommandEventArgs

System_CAPS_pubclassMediaRecorderCustomData

System_CAPS_pubclassMediaRecorderVolumeLevelData

System_CAPS_pubclassRequestId

Uniquely identifies a request and can be used with messages and events.

System_CAPS_pubclassRoleContext

Encapsulates context information about the role in which a diagnostic data adapter is being configured.

System_CAPS_pubclassRunConfiguration

Class to manage test run configuration data and objects.

System_CAPS_pubclassSessionEndEventArgs

Represents the event arguments for the SessionEnd event.

System_CAPS_pubclassSessionPauseEventArgs

Represents the event arguments for the SessionPause event.

System_CAPS_pubclassSessionResumeEventArgs

Represents the event arguments for the SessionResume event.

System_CAPS_pubclassSessionStartEventArgs

Represents the event arguments for the SessionStart event.

System_CAPS_pubclassStreamTransferInformation

Represents information that is required to request a stream transfer.

System_CAPS_pubclassTestCaseEndEventArgs

Represents the event arguments for the TestCaseEnd event.

System_CAPS_pubclassTestCaseEventArgs

Provides a base class for all event argument classes that are used in test case events.

System_CAPS_pubclassTestCaseFailedEventArgs

Represents the arguments that are provided for a TestCaseFailed event.

System_CAPS_pubclassTestCasePauseEventArgs

Represents the event arguments for the TestCasePause event.

System_CAPS_pubclassTestCaseResetEventArgs

Represents the event arguments for the TestCaseReset event.

System_CAPS_pubclassTestCaseResumeEventArgs

Represents the event arguments for the TestCaseResume event.

System_CAPS_pubclassTestCaseStartEventArgs

Represents the event arguments for the TestCaseStart event.

System_CAPS_pubclassTestExecutionSection

Represents the configuration settings for the execution section of the app.config configuration file.

System_CAPS_pubclassTestStepEndEventArgs

Represents the event arguments for the TestStepEnd event.

System_CAPS_pubclassTestStepEventArgs

Base class for all test step event arguments.

System_CAPS_pubclassTestStepStartEventArgs

Represents the event arguments for the TestStepStart event.

InterfaceDescription
System_CAPS_pubinterfaceIBaseAdapter

Provides an interface to use as a base for a custom test adapter.

System_CAPS_pubinterfaceIBaseRunContext

Provides an interface that the test adapter uses to communicate with the test execution framework.

System_CAPS_pubinterfaceIContextAccessor

Interface to use to build a helper class to store and retrieve values from contexts.

System_CAPS_pubinterfaceIDataCollectionAwareTestAdapter

Provides an interface that adds the ability to raise events for diagnostic data adapters to custom test adapters.

System_CAPS_pubinterfaceIDataCollectionRunContext

Interface for an object that encapsulates the current environment for custom diagnostic data adapters.

System_CAPS_pubinterfaceIDataCollectorConfigurationConverter

System_CAPS_pubinterfaceIDataCollectorConfigurationEditor

Provides an interface that creates custom configuration editors of diagnostic data adapters.

System_CAPS_pubinterfaceIExecutionRunConfiguration

Interface for test run information.

System_CAPS_pubinterfaceIHostAdapter

Interface to provide support for test execution in a host application.

System_CAPS_pubinterfaceIRegisterHostAdapter

Provides an interface for a host adapter agent to publish on a remoting channel.

System_CAPS_pubinterfaceIResultSink

Interface to send messages, results, and notifications.

System_CAPS_pubinterfaceIRunContext

Provides an interface for test adapters to retrieve information about a test run.

System_CAPS_pubinterfaceITestContext

A context interface definition for a test context that is passed to a method during the test run process.

System_CAPS_pubinterfaceITestExecutionPlugin

Pluggable interface that is used to execute code in the test execution framework.

System_CAPS_pubinterfaceITestRunner

Provides an interface between the controller and the agent to enable a suite adapter to call back and execute a list of test cases.

EnumerationDescription
System_CAPS_pubenumAdapterRunResult

The AdapterRunResult enumeration is used by the testing framework to indicate the success or failure of a test run.

System_CAPS_pubenumMediaRecorderCommand

System_CAPS_pubenumNotificationBroadcastLevel

Enumerates the scope of diagnostic data adapters to which test adapters can broadcast custom notification events.

System_CAPS_pubenumTestCaseFailureType

This enumeration represents the types of failure for a test case as used in the TestCaseFailedEventArgs class.

Return to top
Show: