Поделиться через


ITestRunHelper Interface

Provides helper properties and methods for test run objects in Visual Studio Test Professional.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Public Interface ITestRunHelper
public interface ITestRunHelper
public interface class ITestRunHelper
type ITestRunHelper =  interface end
public interface ITestRunHelper

The ITestRunHelper type exposes the following members.

Methods

  Name Description
Public method ByBuild Returns all test runs from the server that run against the given build.
Public method ByOwner Returns a list of test-run objects that is owned by the given identity.
Public method Count Returns the number of test-run objects on the server that match the given query.
Public method Create Returns a new test-run instance.
Public method Delete Deletes each test-run object in the provided list from the server.
Public method DeleteByBuild Deletes all test runs, test run information, and build-level coverage data that is stored on the server for the given build URI.
Public method Find Retrieves the specified test run from the server.
Public method Query(String) Returns a list of test-run objects that match the provided query.
Public method Query(String, Boolean) Queries the server to find all test runs matching the given query. Also provides an option for including statistics.

Top

Remarks

This interface supports the object model for Test Case Management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class if a TCM object returns an internal implementation.

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestRun