AggregatedHook class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- priority → int
-
The priority to assign to this hook.
Higher priority gets run first so a priority of 10 is run before a priority of 2
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addHooks(
Iterable< Hook> hooks) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAfterRun(
TestConfiguration config) → Future< void> -
Run after all scenarios in a test run have completed
override
-
onAfterScenario(
TestConfiguration config, String scenario, Iterable< Tag> tags) → Future<void> -
Run after a scenario has executed
override
-
onAfterScenarioWorldCreated(
World world, String scenario, Iterable< Tag> tags) → Future<void> -
Run after the scenario world is created but run before a scenario and its steps are executed
Might not be invoked if there is not a world object
override
-
onAfterStep(
World world, String step, StepResult result) → Future< void> -
Run after a step has executed
override
-
onBeforeRun(
TestConfiguration config) → Future< void> -
Run before any scenario in a test run have executed
override
-
onBeforeScenario(
TestConfiguration config, String scenario, Iterable< Tag> tags) → Future<void> -
Run before a scenario and it steps are executed
override
-
onBeforeStep(
World world, String step) → Future< void> -
Run before a step is executed
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited