MetaFeatureOptionWithCreator

Parameter object which combines a lambda with a MetaFeatureOption receiver (called provider) and an assertionCreator.

Use the function of({ ... }) { ... } to create this representation where the first argument is a lambda with a MetaFeatureOption as receiver which has to create a MetaFeature where the subject of the expectation is available via implicit parameter it. Usually you use f to create a MetaFeature, e.g. feature of({ f(it::size) }) { it toEqual 3 }

Since

0.12.0

Properties

Link copied to clipboard
Link copied to clipboard