ITestRun.AddTest, méthode (Int32, String, String, ITmiTestImplementation)

Crée un résultat de test dans la série de tests par rapport à une configuration de test.Ne requiert pas un cas de test existant pour le résultat des tests.

Doit être suivi par Save().

Espace de noms :  Microsoft.TeamFoundation.TestManagement.Client
Assembly :  Microsoft.TeamFoundation.TestManagement.Client (dans Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntaxe

'Déclaration
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

Paramètres

  • configurationId
    Type : System.Int32
    ID de configuration testée par rapport à.
  • testCaseTitle
    Type : System.String
    Titre du pseudo cas de test
  • testCaseAreaUri
    Type : System.String
    Chemin de la zone où le pseudo cas de test doit être.La valeur par défaut est le chemin de zone racine.

Valeur de retour

Type : Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult

Sécurité .NET Framework

Voir aussi

Référence

ITestRun Interface

AddTest, surcharge

Microsoft.TeamFoundation.TestManagement.Client, espace de noms