Sdílet prostřednictvím


Microsoft.VisualStudio.TestTools.Common Namespace

Classes

AspNetDevelopmentServer

Represents the settings for an instance of the ASP.NET Development Server. More than one instance may occur during a test.

CollectorDataEntry

Represents a data entry from a diagnostic data adapter.

CommonAgentServiceInformation
ComputerInfo

Provides information about the computer that sent a TestResultMessage. This class is obsolete.

DataCollectorExceptionMessageInfo

Represents information about an exception that is reported by a diagnostic data collector.

DataCollectorMessageInfo

Represents an error message or warning message for diagnostic data adapters.

DebugOperationResult

Represents the results of a debug operation.

DebugRequestMessage

Represents a request from a test adapter or host adapter for a debug test operation.

DebugTargetInfo

Provides information about a debug target.

DeploymentItem

Represents a file, a directory, or another item to be deployed with a test run.

DeploymentItemCollection

A collection of DeploymentItem objects.

EqtBaseCollection<T>

Provides a base class for collections in this namespace.

EqtTextWriterTraceListener

Opens a shared log file in append mode.

Extension
GroupingPropertyAttribute

Represents the attribute that marks a property as a grouping property.

HostRunConfigurationData

Encapsulates test run configuration data about both the current active host and storage for configuration settings for all hosts.

KnownExecutionAppKeys

No content here will be updated; please do not add material here.

Link

Represents a link to a test object or to a file on the server in Visual Studio Test Professional.

LocalizedDescriptionAttribute

Represents the attribute that enables the localization of a property description. This class cannot be inherited.

NameValue

Represents a named text value.

NonPersistableAttribute

Represents a marker attribute for a field that indicates that it must not be persisted.

PersistenceElementNameAttribute

Represents an attribute that provides an element name for persisting an element to XML.

ProjectData

Represents information about a test project in Visual Studio.

PropertyWindowAttribute

Represents an attribute for a property that indicates whether the property will appear in the property window.

PublishInfo

Represents internal information about publishing test results.

QTMeasurementBlockFactory
RunInfo

Represents information about the execution of a test run.

RunOutputTestResultMessage

Collects standard output, standard error, and trace data about a test run for diagnostic data adapters to report to the user.

RunResultAndStatistics

Represents a test result that is used to keep statistics at the test run level.

RunStateEvent

Represents a request to change the state of a test run.

SessionId

Represents an identifier for a test session. This class cannot be inherited.

SupportedHostAdapter
TcmContext

No content here will be updated; please do not add material here.

TcmInformation

Encapsulates the information about a test that is stored in the test case management server.

TestAggregation

Represents an aggregation of test elements and links.

TestAndCategoryPair

Represents a match between a test and a test category that is used by the Test List Editor window of Visual Studio Test Professional.

TestCaseManagementDisplayNameAttribute

Represents an attribute that can be applied to test element properties that enables the Visual Studio Test Professional user interface to localize property names. This class cannot be inherited.

TestCategoryItem

Represents a category for a test.

TestCategoryItemCollection

Represents a collection of strings that categorize a test.

TestElement

Provides a base class for all tests.

TestEntry
TestExecId

Represents a unique ID for a test in a test run. This class cannot be inherited.

TestExecutionTraceInformation

Encapsulates the trace information when an error occurs during test execution. This class cannot be inherited.

TestId

Represents a unique ID for a test.

TestListCategoryId

Identifies a specific list of tests in the Test List Editor window of Microsoft Visual Studio Test Professional 2010 and provides access to the IDs of the predefined test lists.

TestMessage

Represents a base class for messages that are passed between client, controller, and agents.

TestOutcomeHelper

Provides helper methods for test outcomes.

TestResultAggregation

Represents a test result that has aggregated information from all test results in the associated test run.

TestResultBase

Provides an optional base class for a custom test result class.

TestResultCounter

Provides functionality to persist the counts of the outcomes of test cases in a test aggregation.

TestResultDetail

Represents the detailed information for a test result.

TestResultErrorInfo

Represents an error or warning message that was encountered during a test run and included in the test result.

TestResultId

Represents a unique identifier for a test result.

TestResultMessage

Provides a base class for test results.

TestRun

Provides a snapshot of a test job that was taken when it was executed. This class cannot be inherited.

TestRunConfiguration

No content here will be updated; please do not add material here.

TestRunConfigurationId

Represents an identifier for a test run configuration object.

TestRunEventArgs

Represents the base class for test run event arguments.

TestRunTextResultMessage

Represents text information to report extra information that is provided by the user and added to the test result.

TestStateEvent

Represents a notification record for a change in test state.

TestType

Identifies a type of test.

TestTypeExtension
TestTypeExtensionClientSide

Provides a base class for custom test extensions to work on the client.

TestTypesXml
TestTypeXml
TextTestResultMessage

Provides a message that is used by tests to report additional information that the user wants to see in the result.

TimerResult

Records the result of a timer that a test writer may use to execute a part of a test.

Tip

Represents the default implementation of a test item provider that must be implemented for each type of test.

UriDataAttachment

Provides an implementation of IDataAttachment for sending any resource that can be accessed by a uniform resource identifier (URI) as an attachment.

UserVisiblePropertyAttribute

Represents an attribute that can be applied to a property of a test element to make the property visible in the property window of the Visual Studio Test Professional user interface. This class cannot be inherited.

VisiblePropertyAttribute

Represents an attribute that is applied to a property of a test element that marks a property as a grouping property in the property window of the Visual Studio Test Professional user interface.

WarningEventArgs

Represents the event arguments for a warning that occurred during a test execution.

XmlTestReader

Provides XML reading functionality in Visual Studio Test Professional.

XmlTestWriter

Provides XML writing functionality in Visual Studio Test Professional.

Interfaces

IAspNetDevelopmentServerTest

Represents an interface that contains a list of AspNetDevelopmentServer objects for this test.

IDataAttachment

Represents an interface that is used to define a data attachment.

IDataSourceBindingData

Represents the information that is required to create a connection for a test element to a data source.

IFastVisiblePropertyProvider

Represents an interface for a streamlined object to work with properties and property values.

IFileProvider

Represents an interface that is implemented by classes to return a list of file paths.

IHostedTest

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.

IHostSpecificRunConfigurationData

Represents a marker interface for the test framework.

IPersistable

Represents an interface that can be implemented by a class to perform actions before and after persistence when it is called by the testing framework of Visual Studio Test Professional.

IPotentiallyLarge

Represents an interface that can be implemented by a potentially large object to enable the testing framework to determine whether to enforce flow control during operations that involve the object.

IQTMeasurementBlock
ITestAggregation

Represents an interface that can be implemented by a test element.

ITestElement

Represents a test object that is used internally in the test framework of Visual Studio, and is the interface that is implement by all test cases.

ITestElementResultTestPropertyProvider

Represents an interface that an object can implement to provide test data in the test results.

ITestList

Interface for creating custom test lists.

ITestManagementEvents

Represents an interface that a class can implement to add the TestRunSubmitting event handler.

ITestResultExtension

Represents an interface that is implemented by Visual Studio Test Professional to enable unit tests to extract extension data that is attached to test results.

ITestTypeExtension

Represents an interface that is implemented by Visual Studio Test Professional to enable a client extension to get a list of tests in the test run before the test run is executed.

ITestTypeSpecificRunConfigurationData

Represents an interface that must be implemented by extension objects that define test types by using test run configuration data that is specific to the test type.

ITip

Interface for a test item provider that must be implemented for each type of test.

ITmi

Represents the Test Management interface (UI) of Visual Studio Test Professional.

IVerifiable

Represents an interface that can be implemented by test extension classes to verify its required test elements.

IVisiblePropertyProvider

Represents an interface that can be implemented by test objects that have properties that are visible to the user.

IWarningHandler

Represents an interface for test classes that handle and report warning events.

Enums

DataCollectorMessageLevel

Represents the severity levels at which a DataCollectorExceptionMessageInfo for a diagnostic data adapter can be logged.

DebugEngine

Specifies the debug engines that you can use to test code.

PropertyConverterType

Enumerates the possible type converters for test object property values.

PropertyEditorType

This enumeration provides the valid values for the editor of a property value.

RunState

This enumeration represents the valid states for a test run.

TestMessageKind

Provides the valid types for an internal message.

TestOutcome

Describes the outcome of a test run.

TestState

This enumeration represents the valid states for a test.

WebServerType

This enumeration provides valid types of Web server settings.

Delegates

DebugEventHandler

Represents the method that will handle the debug event.

QTMeasurementBlockFactory.ProxyCreator