共用方式為


ITestRun.AddTest Method (Int32, String, String, ITmiTestImplementation)

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

Syntax

'Declaration
Function AddTest ( _
    configurationId As Integer, _
    testCaseTitle As String, _
    testCaseAreaUri As String, _
    implementation As ITmiTestImplementation _
) As ITestCaseResult
ITestCaseResult AddTest(
    int configurationId,
    string testCaseTitle,
    string testCaseAreaUri,
    ITmiTestImplementation implementation
)
ITestCaseResult^ AddTest(
    int configurationId, 
    String^ testCaseTitle, 
    String^ testCaseAreaUri, 
    ITmiTestImplementation^ implementation
)
abstract AddTest : 
        configurationId:int * 
        testCaseTitle:string * 
        testCaseAreaUri:string * 
        implementation:ITmiTestImplementation -> ITestCaseResult
function AddTest(
    configurationId : int, 
    testCaseTitle : String, 
    testCaseAreaUri : String, 
    implementation : ITmiTestImplementation
) : ITestCaseResult

Parameters

  • configurationId
    Type: Int32
  • testCaseTitle
    Type: String
  • testCaseAreaUri
    Type: String

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult

.NET Framework Security

See Also

Reference

ITestRun Interface

AddTest Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace