doc / ch.tutteli.atrium.assertions.builders / AssertionBuilder / descriptive

descriptive

abstract val descriptive: Descriptive.HoldsOption

Builder to create a DescriptiveAssertion -- use it to create a simple assertion consisting of a DescriptiveAssertion.description (such as is less than) and a DescriptiveAssertion.representation (which most of time corresponds to the expected value).

Use representationOnly in case your assertion does not require a description.