interface FeatureExtractor
Defines the contract for sophisticated safe feature extractions
including assertion creation for the feature.
It is similar to FeatureAssertions but differs in the intended usage. FeatureAssertions are intended to make assertions about a return value of a method call or a property, regardless if this call/access fails or not. The FeatureExtractor on the other hand should be used if it is already known, that the call/access fails depending on given arguments. For instance, List.get is a good example where it fails if the given index is out of bounds.
interface
Final step of the sophisticated |
|
interface
Final step of the sophisticated |
|
interface
Final step of the sophisticated |
|
interface
Option step which allows to specify the description which will be used to describe the feature. |
|
data class
A parameter object which contains all necessary information to extract a feature -- however, not to create assertions. |
|
interface
Option step to define the ParameterObject. |
val builder: FeatureExtractor.DescriptionOption
Entry point to use the feature extractor. |