ITestList.AddTest Method
Adds a test to the test list.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Sub AddTest ( _
test As ITestElement _
)
void AddTest(
ITestElement test
)
void AddTest(
ITestElement^ test
)
abstract AddTest :
test:ITestElement -> unit
function AddTest(
test : ITestElement
)
Parameters
test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementAn ITestElement object.
.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.