AttachScreenshotOnFailedStepHook class

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

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
inherited
onAfterScenario(TestConfiguration config, String scenario, Iterable<Tag> tags) Future<void>
Run after a scenario has executed
inherited
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
inherited
onAfterStep(World world, String step, StepResult stepResult) Future<void>
Run after a step has executed
onBeforeRun(TestConfiguration config) Future<void>
Run before any scenario in a test run have executed
inherited
onBeforeScenario(TestConfiguration config, String scenario, Iterable<Tag> tags) Future<void>
Run before a scenario and it steps are executed
inherited
onBeforeStep(World world, String step) Future<void>
Run before a step is executed
inherited
takeScreenshot(World world) Future<String>
toString() String
A string representation of this object.
inherited

Operators

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