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.Common Namespace

This namespace provides classes that are used by the testing framework or user interface of Visual Studio 2010 Ultimate or Visual Studio 2010 Premium, in addition to classes and interfaces that a developer can modify to extend the functionality, such as ITestElement and TestElement.

  ClassDescription
Public classAspNetDevelopmentServerRepresents the settings for an instance of the ASP.NET Development Server. More than one instance may occur during a test.
Public classCollectorDataEntryInfrastructure. Represents a data entry from a diagnostic data adapter.
Public classComputerInfo Obsolete. Provides information about the computer that sent a TestResultMessage. This class is obsolete.
Public classDataCollectorExceptionMessageInfoRepresents information about an exception that is reported by a diagnostic data collector.
Public classDataCollectorMessageInfoRepresents an error message or warning message for diagnostic data adapters.
Public classDebugOperationResultRepresents the results of a debug operation.
Public classDebugRequestMessageRepresents a request from a test adapter or host adapter for a debug test operation.
Public classDebugTargetInfoProvides information about a debug target.
Public classDeploymentItemRepresents a file, a directory, or another item to be deployed with a test run.
Public classDeploymentItemCollectionA collection of DeploymentItem objects.
Public classEqtBaseCollection<T>Provides a base class for collections in this namespace.
Public classEqtTextWriterTraceListenerOpens a shared log file in append mode.
Public classGroupingPropertyAttributeRepresents the attribute that marks a property as a grouping property.
Public classHostRunConfigurationDataInfrastructure. Encapsulates test run configuration data about both the current active host and storage for configuration settings for all hosts.
Public classKnownExecutionAppKeysInfrastructure. Represents the keys that are used to access properties in the test environment.
Public classLinkRepresents a link to a test object or to a file on the server in Visual Studio Test Professional.
Public classLocalizedDescriptionAttributeInfrastructure. Represents the attribute that enables the localization of a property description. This class cannot be inherited.
Public classNameValueRepresents a named text value.
Public classNonPersistableAttributeRepresents a marker attribute for a field that indicates that it must not be persisted.
Public classPersistenceElementNameAttributeRepresents an attribute that provides an element name for persisting an element to XML.
Public classProjectDataRepresents information about a test project in Visual Studio.
Public classPropertyWindowAttributeRepresents an attribute for a property that indicates whether the property will appear in the property window.
Public classPublishInfoInfrastructure. Represents internal information about publishing test results.
Public classRunInfoRepresents information about the execution of a test run.
Public classRunOutputTestResultMessageCollects standard output, standard error, and trace data about a test run for diagnostic data adapters to report to the user.
Public classRunResultAndStatisticsRepresents a test result that is used to keep statistics at the test run level.
Public classRunStateEventRepresents a request to change the state of a test run.
Public classSessionIdRepresents an identifier for a test session. This class cannot be inherited.
Public classTcmContextEncapsulates test run context information that is related to the test run manager.
Public classTcmInformationInfrastructure. Encapsulates the information about a test that is stored in the test case management server.
Public classTestAggregationRepresents an aggregation of test elements and links.
Public classTestAndCategoryPairRepresents a match between a test and a test category that is used by the Test List Editor window of Visual Studio Test Professional.
Public classTestCaseManagementDisplayNameAttributeRepresents 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.
Public classTestCategoryItemRepresents a category for a test.
Public classTestCategoryItemCollectionRepresents a collection of strings that categorize a test.
Public classTestElementProvides a base class for all tests.
Public classTestExecIdRepresents a unique ID for a test in a test run. This class cannot be inherited.
Public classTestExecutionTraceInformationEncapsulates the trace information when an error occurs during test execution. This class cannot be inherited.
Public classTestIdRepresents a unique ID for a test.
Public classTestListCategoryIdIdentifies 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.
Public classTestMessageRepresents a base class for messages that are passed between client, controller, and agents.
Public classTestOutcomeHelperInfrastructure. Provides helper methods for test outcomes.
Public classTestResultRepresents a base class for test results and represents the results of a test.
Public classTestResultAggregationRepresents a test result that has aggregated information from all test results in the associated test run.
Public classTestResultBaseProvides an optional base class for a custom test result class.
Public classTestResultCounterProvides functionality to persist the counts of the outcomes of test cases in a test aggregation.
Public classTestResultDetailRepresents the detailed information for a test result.
Public classTestResultErrorInfoRepresents an error or warning message that was encountered during a test run and included in the test result.
Public classTestResultIdRepresents a unique identifier for a test result.
Public classTestResultMessageProvides a base class for test results.
Public classTestRunProvides a snapshot of a test job that was taken when it was executed. This class cannot be inherited.
Public classTestRunConfigurationProvides the configuration of the test job that is currently being executed. This class cannot be inherited.
Public classTestRunConfigurationIdRepresents an identifier for a test run configuration object.
Public classTestRunEventArgsRepresents the base class for test run event arguments.
Public classTestRunTextResultMessageRepresents text information to report extra information that is provided by the user and added to the test result.
Public classTestStateEventRepresents a notification record for a change in test state.
Public classTestTypeIdentifies a type of test.
Public classTestTypeExtensionClientSideProvides a base class for custom test extensions to work on the client.
Public classTextTestResultMessageProvides a message that is used by tests to report additional information that the user wants to see in the result.
Public classTimerResultRecords the result of a timer that a test writer may use to execute a part of a test.
Public classTipRepresents the default implementation of a test item provider that must be implemented for each type of test.
Public classUriDataAttachmentProvides an implementation of IDataAttachment for sending any resource that can be accessed by a uniform resource identifier (URI) as an attachment.
Public classUserVisiblePropertyAttributeRepresents 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.
Public classVisiblePropertyAttributeRepresents 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. 
Public classWarningEventArgsRepresents the event arguments for a warning that occurred during a test execution.
Public classXmlTestReaderProvides XML reading functionality in Visual Studio Test Professional.
Public classXmlTestWriterProvides XML writing functionality in Visual Studio Test Professional.

  InterfaceDescription
Public interfaceIAspNetDevelopmentServerTestRepresents an interface that contains a list of AspNetDevelopmentServer objects for this test.
Public interfaceIDataAttachmentRepresents an interface that is used to define a data attachment.
Public interfaceIDataSourceBindingDataInfrastructure. Represents the information that is required to create a connection for a test element to a data source.
Public interfaceIFastVisiblePropertyProviderRepresents an interface for a streamlined object to work with properties and property values.
Public interfaceIFileProviderRepresents an interface that is implemented by classes to return a list of file paths.
Public interfaceIHostedTestA 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 interfaceIHostSpecificRunConfigurationDataInfrastructure. Represents a marker interface for the test framework.
Public interfaceIPersistableRepresents 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.
Public interfaceIPotentiallyLargeRepresents 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.
Public interfaceITestAggregationRepresents an interface that can be implemented by a test element.
Public interfaceITestElementRepresents 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.
Public interfaceITestElementResultTestPropertyProviderRepresents an interface that an object can implement to provide test data in the test results.
Public interfaceITestListInterface for creating custom test lists.
Public interfaceITestManagementEventsRepresents an interface that a class can implement to add the TestRunSubmitting event handler.
Public interfaceITestResultExtensionRepresents an interface that is implemented by Visual Studio Test Professional to enable unit tests to extract extension data that is attached to test results.
Public interfaceITestTypeExtensionRepresents 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.
Public interfaceITestTypeSpecificRunConfigurationDataRepresents 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.
Public interfaceITipInterface for a test item provider that must be implemented for each type of test.
Public interfaceITmiInfrastructure. Represents the Test Management interface (UI) of Visual Studio Test Professional.
Public interfaceIVerifiableRepresents an interface that can be implemented by test extension classes to verify its required test elements.
Public interfaceIVisiblePropertyProviderRepresents an interface that can be implemented by test objects that have properties that are visible to the user.
Public interfaceIWarningHandlerRepresents an interface for test classes that handle and report warning events.

  DelegateDescription
Public delegateDebugEventHandlerRepresents the method that will handle the debug event.

  EnumerationDescription
Public enumerationDataCollectorMessageLevelRepresents the severity levels at which a DataCollectorExceptionMessageInfo for a diagnostic data adapter can be logged.
Public enumerationDebugEngineSpecifies the debug engines that you can use to test code.
Public enumerationPropertyConverterTypeEnumerates the possible type converters for test object property values.
Public enumerationPropertyEditorTypeThis enumeration provides the valid values for the editor of a property value.
Public enumerationRunStateThis enumeration represents the valid states for a test run.
Public enumerationTestMessageKindInfrastructure. Provides the valid types for an internal message.
Public enumerationTestOutcomeDescribes the outcome of a test run.
Public enumerationTestStateThis enumeration represents the valid states for a test.
Public enumerationWebServerTypeThis enumeration provides valid types of Web server settings.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft