ITestRun.AddTest Method (String)
Adds a new test with given name.
Must be followed by a Save()
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function AddTest ( _
testName As String _
) As ITestCaseResult
ITestCaseResult AddTest(
string testName
)
ITestCaseResult^ AddTest(
String^ testName
)
abstract AddTest :
testName:string -> ITestCaseResult
function AddTest(
testName : String
) : ITestCaseResult
Parameters
testName
Type: StringName of the test
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult
.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.