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.
Formatter
This is the interface you should implement if you want your own custom formatter.
GherkinParserTask
GherkinTable
GherkinVocabulary
Could this hold the above regexes and misc vocabulary, so that we can let user provide his, for I18N and other uses ? Note: statics are not suited for inheritance, and it'd be nice to be able to extend this and override only what we want.
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
StepFailure
StepsExecutionStatus
A run/feature/scenario status of multiple steps, maybe with undefined ones.
StepStatus
Feedback from one step's execution.
Then
When

Properties

backgroundPattern RegExp
getter/setter pair
commentPattern RegExp
getter/setter pair
examplesPattern RegExp
getter/setter pair
featurePattern RegExp
getter/setter pair
pyStringPattern RegExp
getter/setter pair
scenarioPattern RegExp
getter/setter pair
stepPattern RegExp
getter/setter pair
tablePattern RegExp
getter/setter pair
tagsPattern RegExp
getter/setter pair

Functions

run(dynamic 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
StepDefUndefined