OguretsState class Null safety

Constructors

OguretsState(ResultBuffer resultBuffer)

Properties

afterScenarioHooks List<HookFunc>
read / write
afterStepGlobalHooks List<HookFunc>
read / write
beforeScenarioHooks List<HookFunc>
these are not named, but are global and always run
read / write
beforeStepGlobalHooks List<HookFunc>
these are not named, but are global and always run
read / write
existingInstances Map<Type, InstanceMirror>
read / write
failOnMissingSteps bool
read / write
fmt Formatter?
read / write
formatters List<Formatter>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
namedAfterStepHooks Map<String?, List<HookFunc>>
read / write
namedAfterTagHooks Map<String?, List<HookFunc>>
read / write
namedBeforeStepHooks Map<String?, List<HookFunc>>
read / write
namedBeforeTagHooks Map<String?, List<HookFunc>>
read / write
negativeTags List<String>
read / write
parallelRun bool
read / write
resultBuffer ResultBuffer
final
runTags List<String>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scenarioToRun String?
read / write
stepRunners Map<RegExp, StepFunc>
read / write
steps List<Type>
read / write

Methods

build() Future<void>
executeRunHooks(Type hookType) Future
executeStep(ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession, Map namedParams, MethodMirror mm, List params, ObjectMirror instance, StepStatus stepStatus) Future
findHooks(Type hookType, Map<String?, List<HookFunc>> sortedTagRunners, List<HookFunc> sortedRunners) Future<OguretsState>
invokeStep(ObjectMirror instance, MethodMirror mm, List params, Map<Symbol, dynamic> convertedNamedParams) Future
negativeTagsMatch(List<String?>? expectedTags) bool
Do any of the negativeTags match one of expectedTags or @ignore? If expectedTags is empty, nothing matches. If there are no negativeTags, return false as well
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
runAfterHooks(ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession) Future<void>
runBeforeHooks(ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession) Future<void>
runHookList(ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession, List<HookFunc> funcList) Future<void>
runScenarioTags(ScenarioStatus scenarioStatus, OguretsScenarioSession scenarioSession, Map<String?, List<HookFunc>> tagRunners) Future<void>
tagsMatch(List<String?>? expectedTags) bool
Do any of the runTags match one of expectedTags? If runTags is empty, anything matches. If there are runTags but no expectedTags, don't match.
toString() String
A string representation of this object. [...]
inherited

Operators

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