Bearbeiten

TestHandlerContext.CodeunitName() Method

Version: Available or changed with runtime version 18.0.

Gets the fully qualified name of the test codeunit being run.

Syntax

CodeunitName :=   TestHandlerContext.CodeunitName()

Note

This method can be invoked using property access syntax.

Parameters

TestHandlerContext
 Type: TestHandlerContext
An instance of the TestHandlerContext data type.

Return Value

CodeunitName
 Type: Text
The fully qualified name of the test codeunit.

TestHandlerContext data type
Test codeunits and test methods in AL
Getting started with AL
Developing extensions