ScenarioMessage class

A message related to a scenario or scenarioOutline

Inheritance

Constructors

ScenarioMessage({required String name, required RunnableDebugInformation context, String? description, bool hasPassed = false, List<Tag> tags = const [], Target target = Target.scenario})
A message related to a scenario or scenarioOutline

Properties

context RunnableDebugInformation
Message context in various test states
finalinherited
description String?
final
hashCode int
The hash code for this object.
no setterinherited
hasPassed bool
Has the scenario been executed successfully
final
name String
The ordinal name of the test, for example Step 1
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<Tag>
Gherkin format tags
final
target Target
Type of Gherkin entity
finalinherited

Methods

copyWith({String? name, String? description, RunnableDebugInformation? context, bool? hasPassed, List<Tag>? tags, Target? target}) ScenarioMessage
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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