TestElementName

annotation class TestElementName(source)

Makes a String parameter receive the fully qualified name of its function's or constructor's caller.

This annotation requires a top-level @[TestRegistering] function or class constructor. A @[TestElementName] parameter must be of type String and have a default value (typically, "").

If the call site of the function or constructor does not supply an actual value for that @[TestElementName] parameter, the compiler will insert the caller's fully qualified class or property name.