AttachScreenshotOnFailedStepHook class

Inheritance

Constructors

AttachScreenshotOnFailedStepHook()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
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
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
override
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