doc / ch.tutteli.atrium.domain.creating.feature.extract / FeatureExtractor / RepresentationOption

RepresentationOption

interface RepresentationOption (source)

Provides options to chose the representation of the feature.

Functions

feature

open fun feature(featureRepresentation: () -> String): ParameterObjectOption

Uses the given featureRepresentation as representation.

methodCall

open fun methodCall(methodName: String, vararg arguments: Any?): ParameterObjectOption

Uses coreFactory.newMethodCallFormatter to create a representation of a method call with the given methodName and the given arguments.

withDescription

abstract fun withDescription(translatable: Translatable): ParameterObjectOption

Uses the given translatable as representation of the feature.