ExecutionStep

Step which allows to decide how the transformation shall be executed.

For instance, if it shall just perform the transformation and return the new Expect of type SubjectAfterChangeT or if it shall pass an assertionCreator-lambda which creates sub-assertions etc.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun collect(assertionCreator: Expect<SubjectAfterChangeT>.() -> Unit): Assertion

Finishes the transformation process by collecting the assertions the given assertionCreator creates for the subject of type FeatureT resulting from the transformation and returns the assertions as a single Assertion.

Link copied to clipboard
abstract fun collectAndAppend(assertionCreator: Expect<SubjectAfterChangeT>.() -> Unit): Expect<SubjectT>

Finishes the transformation process by appending the Assertion which is returned when calling collect with the given assertionCreator.

Link copied to clipboard

Finishes the transformation process by appending the Assertion which is returned when calling TransformationExecutionStep.collectAndAppend with _logicAppend and the given assertionCreator.

Link copied to clipboard

Finishes the transformation process by simply performing the transformation as such.

Link copied to clipboard

Finishes the transformation process by carrying the transformation out and appending the assertions the given assertionCreator creates for the subject of type FeatureT resulting from the transformation as single assertion.