AllureGlobalError class

Error recorded outside an individual test result.

Inheritance

Constructors

AllureGlobalError({required int timestamp, String? message, String? trace, bool? known, bool? muted, bool? flaky, String? actual, String? expected})
Creates a global error record.
const

Properties

actual String?
Actual value captured from assertion-style failures.
finalinherited
expected String?
Expected value captured from assertion-style failures.
finalinherited
flaky bool?
Whether the issue is marked as flaky.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Whether no status detail fields are set.
no setterinherited
known bool?
Whether the issue is marked as known.
finalinherited
message String?
Human-readable failure or skip message.
finalinherited
muted bool?
Whether the issue is muted in reporting.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
Timestamp in milliseconds since epoch when the error was recorded.
final
trace String?
Stack trace or diagnostic trace text.
finalinherited

Methods

merge(AllureStatusDetails other) AllureStatusDetails
Returns a copy where non-null values from other override this instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Converts this global error to the Allure JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

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