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.
Version: Available or changed with runtime version 18.0.
Marks the current test case or procedure to be skipped. When called from a before-hook (OnBeforeTestCaseRun or OnBeforeTestProcedureRun), the test body is not executed and the case is reported as skipped. Calling it from an after-hook has no effect.
Syntax
TestHandlerContext.Skip(Reason: Text)
Parameters
TestHandlerContext
Type: TestHandlerContext
An instance of the TestHandlerContext data type.
Reason
Type: Text
The reason the case is being skipped, surfaced in the test result and log.
Related information
TestHandlerContext data type
Test codeunits and test methods in AL
Getting started with AL
Developing extensions