Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called to execute a test case.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Sub Run ( _
testElement As ITestElement, _
testContext As ITestContext _
)
void Run(
ITestElement testElement,
ITestContext testContext
)
void Run(
ITestElement^ testElement,
ITestContext^ testContext
)
abstract Run :
testElement:ITestElement *
testContext:ITestContext -> unit
function Run(
testElement : ITestElement,
testContext : ITestContext
)
Parameters
testElement
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementThe test element that describes which adapter to load.
testContext
Type: Microsoft.VisualStudio.TestTools.Execution.ITestContextThe context for the adapter.
.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.