atrium-impl-common / ch.tutteli.atrium.assertions / FeatureAssertionGroup

FeatureAssertionGroup

data class FeatureAssertionGroup : IFeatureAssertionGroup (source)

Represent a group of IAssertion identified by a featureName and a belonging feature.

Constructors

<init> FeatureAssertionGroup(featureName: String, feature: Any, assertions: List<IAssertion>)

Properties

assertions val assertions: List<IAssertion>

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

feature val feature: Any

The feature itself for which the assertions are defined for.

featureName val featureName: String

The name of the feature.

Inherited Functions

holds open fun holds(): Boolean

Holds if all its assertions hold.