Share via


ITmi Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Interface ITmi _
    Inherits ITestManagementEvents
public interface ITmi : ITestManagementEvents
public interface class ITmi : ITestManagementEvents
type ITmi =  
    interface 
        interface ITestManagementEvents 
    end
public interface ITmi extends ITestManagementEvents

The ITmi type exposes the following members.

Properties

  Name Description
Public property ActiveTestRunConfigurationId Gets or sets the active test run configuration for the current solution.

Top

Methods

  Name Description
Public method AddManagedTestStorage(Object, String) Adds a test storage path of a specific test manager.
Public method AddManagedTestStorage(Object, String, TestType) Adds the provided test storage path of a specific test manager and specified test type.
Public method AddOrUpdateTests Adds or updates the tests in the test management interface by using the provided collection of tests.
Public method AddTest Adds the provided test to the UI of Visual Studio Test Professional.
Public method AddTests Adds a collection of tests to the UI of Visual Studio Test Professional.
Public method ClearManagedTestStorage Clears the list of storage paths that are managed by the specified test manager.
Public method FindTipForTestType Returns a test item provider for the specified test type.
Public method GetTest Returns the test element that corresponds to the specified test ID.
Public method GetTestLists Gets all the top-level test lists in the UI of Visual Studio Test Professional.
Public method GetTestListsForResults Returns an array of read-only test lists in which each list contains tests that match a test result in the provided test run.
Public method GetTestResults(TestRun) Gets an array of test result objects from the provided test run.
Public method GetTestResults(TestRun, ITestElement) Gets an array of test results from the provided test run that are in the provided test.
Public method GetTestRun Returns the specified test run from the UI of Visual Studio Test Professional.
Public method GetTestRunConfiguration Returns the loaded test run configuration in the UI of Visual Studio Test Professional that has the given ID.
Public method GetTestRunConfigurations Returns all loaded test run configurations in the UI of Visual Studio Test Professional.
Public method GetTestRuns Returns all test runs in the UI of Visual Studio Test Professional.
Public method GetTests Returns all tests that are loaded in the UI of Visual Studio Test Professional.
Public method GetTestsNotInAnyTestList() Gets an array of tests that are not in any of the test lists in the UI of Visual Studio Test Professional.
Public method GetTestsNotInAnyTestList(TestRun) Gets an array of tests that are not in any of the test lists in the UI of Visual Studio Test Professional and that are in the provided test run.
Public method ReleaseTest Deletes the specified test from the UI of Visual Studio Test Professional.
Public method ReleaseTests(ICollection) Deletes the tests that are specified by the provided collection of IDs from the UI of Visual Studio Test Professional.
Public method ReleaseTests(String) Deletes the tests in the specified storage location from the UI of Visual Studio Test Professional.
Public method SaveTest Saves the specified test from the UI memory to a hard disk.
Public method UpdateTest Updates the provided test in the UI of Visual Studio Test Professional by using the provided test.
Public method UpdateTests Updates those tests in the UI of Visual Studio Test Professional by using the provided collection of tests.

Top

Events

  Name Description
Public event TestRunSubmitting Occurs after deployment is finished and before a test run is submitted to the test controller. (Inherited from ITestManagementEvents.)

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace