UnitStep<SUT, Example extends UnitExample?> class
abstract
Used to represents a step inside a UnitScenario.
Constructors
-
UnitStep({required String description, required 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.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited