PackageTestMetadata class

Metadata derived from a package:test declaration or runtime test.

Constructors

PackageTestMetadata({required String name, required String fullName, required String testCaseName, required List<String> titlePath, required List<String> groupPath, required String? packagePath, required List<AllureLabel> labels, required List<AllureLink> links, required List<AllureParameter> parameters, required String? externalId, required String? nativeSelector, required List<String> rawTags, required bool skipped})
Creates package test metadata.
const

Properties

externalId String?
External Allure id parsed from metadata, when present.
final
fullName String
Fully qualified name used for selectors and history.
final
groupPath List<String>
Group path that contains the test.
final
hashCode int
The hash code for this object.
no setterinherited
labels List<AllureLabel>
Labels parsed or inferred for the test.
final
Links parsed or inferred for the test.
final
name String
Display name for the test result.
final
nativeSelector String?
Native selector used by Allure test plan matching.
final
packagePath String?
Test file path relative to the package, when known.
final
parameters List<AllureParameter>
Parameters parsed or inferred for the test.
final
rawTags List<String>
Raw package:test tags observed for the test.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipped bool
Whether the test was declared as skipped.
final
testCaseName String
Human-readable test case name.
final
testClass String
Best-effort class label value for the test.
no setter
titlePath List<String>
Title path used by Allure for nested test names.
final

Methods

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