共用方式為


ITestSummary Interface

Note: This API is now obsolete.

Interface for TestSummary type of IBuildInformationNode. To obtain an ITestSummary, use the InformationNodeConverters class.

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

Syntax

'Declaration
<ObsoleteAttribute("This class has been deprecated. Please remove all references.",  _
    False)> _
Public Interface ITestSummary
[ObsoleteAttribute("This class has been deprecated. Please remove all references.", 
    false)]
public interface ITestSummary
[ObsoleteAttribute(L"This class has been deprecated. Please remove all references.", 
    false)]
public interface class ITestSummary
[<ObsoleteAttribute("This class has been deprecated. Please remove all references.", 
    false)>]
type ITestSummary =  interface end
public interface ITestSummary

The ITestSummary type exposes the following members.

Properties

  Name Description
Public property Id Gets the ID of the underlying IBuildInformationNode of this test summary.
Public property Name Gets or sets the name of this test run.
Public property Node Gets the underlying IBuildInformationNode.
Public property RunId Gets or sets the ID of this test run.
Public property RunPassed Gets or sets a flag that describes the overall status of this test run.
Public property RunUser Gets or sets the user who initiated this test run.
Public property TestsFailed Gets or sets the number of tests that failed during this test run.
Public property TestsInconclusive Gets the number of tests that were not marked as passed or failed during the run.
Public property TestsPassed Gets or sets the number of tests that passed during the run.
Public property TestsTotal Gets or sets the total number of tests.

Top

Methods

  Name Description
Public method Save Saves the test summary to the server.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace