Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestRun::AddTest Method (Int32, String^, String^, ITmiTestImplementation^)

 

Creates a new test result in the test run against a test configuration. Does not require an existing test case for the test result.

Must be followed by a Save().

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

ITestCaseResult^ AddTest(
	int configurationId,
	String^ testCaseTitle,
	String^ testCaseAreaUri,
	ITmiTestImplementation^ implementation
)

Parameters

configurationId
Type: System::Int32

ID of configuration to test against.

testCaseTitle
Type: System::String^

Title of the pseudo test case

testCaseAreaUri
Type: System::String^

Area path where the pseudo test case should be. Default is the root area path.

implementation
Type: Microsoft.TeamFoundation.TestManagement.Client::ITmiTestImplementation^

The test implementation for the test result.

Return to top
Show: