StepMessage class

A message related to a step

Inheritance

Constructors

StepMessage({required String name, required RunnableDebugInformation context, List<Tag> tags = const [], GherkinTable? table, String? multilineString, StepResult? result, List<Attachment>? attachments})
A message related to a step

Properties

attachments List<Attachment>?
final
context RunnableDebugInformation
Message context in various test states
finalinherited
hashCode int
The hash code for this object.
no setterinherited
multilineString String?
Gherkin format multiline string (optional)
final
name String
The ordinal name of the test, for example Step 1
finalinherited
result StepResult?
Step result during program execution
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table GherkinTable?
Gherkin format table (optional)
final
tags List<Tag>
Gherkin format tags
final
target Target
Type of Gherkin entity
finalinherited

Methods

copyWith({String? name, RunnableDebugInformation? context, GherkinTable? table, String? multilineString, List<Tag>? tags, StepResult? result, List<Attachment>? attachments}) StepMessage
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