ITestRun.AddTestPoints Method
Adds new test points to the test run.
Must be followed by a Save().
The test result objects returned by this call are not usable until after the save.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function AddTestPoints ( _
points As IEnumerable(Of ITestPoint), _
owner As TeamFoundationIdentity _
) As ITestCaseResultCollection
ITestCaseResultCollection AddTestPoints(
IEnumerable<ITestPoint> points,
TeamFoundationIdentity owner
)
ITestCaseResultCollection^ AddTestPoints(
IEnumerable<ITestPoint^>^ points,
TeamFoundationIdentity^ owner
)
abstract AddTestPoints :
points:IEnumerable<ITestPoint> *
owner:TeamFoundationIdentity -> ITestCaseResultCollection
function AddTestPoints(
points : IEnumerable<ITestPoint>,
owner : TeamFoundationIdentity
) : ITestCaseResultCollection
Parameters
points
Type: IEnumerable<ITestPoint>test points to add.
owner
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentityOwner to assign the tests to or null to inherit owner from the test points "AssignedTo".
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.