GivenWhenThen<SUT, Example extends UnitExample?> class

Implementation of an UnitStep that logs a 'Gherkin' -> 'Give', 'When' and 'Then' step.

Inheritance

Constructors

GivenWhenThen(String description, UnitStepCallback<SUT, Example> step)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
test({required SUT systemUnderTest, required UnitLog log, required UnitBox box, required UnitMocks mocks, Example? example}) FutureOr<void>
Runs all code defined in a specific UnitStep.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited