ogurets library

Classes

After
AfterRun
AfterStep
And
BasicFormatter
Before
BeforeRun
BeforeStep
BufferedStatus
But
ColoredBufferFragment
ColoredFragmentsBuffer
The pupose of this buffer is to be merged.
ConsoleBuffer
DelegatingFormatter
FeatureStatus
Feedback from one feature's execution.
FilteredFormatter
Formatter that will filter out certain types of messages. Useful for reducing the logs when running large amounts of features.
Formatter
This is the interface you should implement if you want your own custom formatter.
GherkinBackground
GherkinFeature
GherkinParserTask
GherkinScenario
GherkinStep
GherkinTable
Given
Hook
IntellijFormatter
Location
OguretsOpts
OguretsScenarioSession
OguretsState
ResultBuffer
RunStatus
Feedback from a run of one or more features
ScenarioStatus
Feedback from one scenario's execution.
StepDef
The base class of the step annotations, which ogurets uses to find steps.
StepFailure
StepsExecutionStatus
A run/feature/scenario status of multiple steps, maybe with undefined ones.
StepStatus
Feedback from one step's execution.
Then
When

Enums

Filter
Values used for filtering out certain messages.
LogLevel
Abstraction of log levels so packages don't need to add the "logger" depencency

Properties

alwaysShowOut → bool
Whether step output is shown for every step, not just failed ones.
final

Functions

run(List<String> args) → Future<void>
Runs specified gherkin files with provided flags. This is left for backwards compatibility. args may be a list of filepaths.

Typedefs

HookFunc = Future<void> Function(OguretsScenarioSession scenarioSession, ScenarioStatus scenarioStatus)
The purpose of this file is to expose the internals of ogurets without requiring dart:io, so that it can be used in the browser.
StepFunc = Future Function(List params, Map namedParams, OguretsScenarioSession scenarioSession, ScenarioStatus scenarioStatus, StepStatus stepStatus)

Exceptions / Errors

GherkinSyntaxError
Thrown when a feature file is not valid Gherkin.
GherkinUnsupportedError
Thrown when a feature file uses Gherkin that is valid, but that ogurets cannot yet execute correctly (see _GherkinParser for the list).
StepDefUndefined