doc / ch.tutteli.atrium.assertions / IFeatureAssertionGroup

IFeatureAssertionGroup

interface IFeatureAssertionGroup : IAssertion

The base interface for feature IAssertion groups, providing a default implementation for IAssertion.holds which returns true if all its assertions hold.

Properties

assertions

abstract val assertions: List<IAssertion>

The assertions of this group, which are defined for feature.

feature

abstract val feature: Any

The feature itself for which the assertions are defined for.

featureName

abstract val featureName: ITranslatable

The name of the feature.

Functions

holds

open fun holds(): <ERROR CLASS>

Holds if all its assertions hold.