doc / ch.tutteli.atrium.creating.feature / FeatureInfo

FeatureInfo

interface FeatureInfo (source)

Responsible to determine the feature description for a given feature extractor.

Functions

determine

abstract fun <T, R> determine(extractor: T.() -> R, stacksToDrop: Int): String

Returns the feature description for the feature extracted by the given extractor where stacksToDrop indicates how many stack frames away the actual extraction was defined.

Inheritors

StackTraceBasedFeatureInfo

expect class StackTraceBasedFeatureInfo : FeatureInfo