Portability | portable |
---|---|
Stability | unstable |
Maintainer | Marco Túlio Pimenta Gontijo <marcotmarcot@gmail.com> |
Safe Haskell | Safe-Infered |
- type Abacate = Feature
- data Feature = Feature {}
- type Header = Text
- type FeatureElements = [FeatureElement]
- data FeatureElement
- data Scenario = Scenario {}
- data ScenarioOutline = ScenarioOutline {}
- type Background = BasicScenario
- data BasicScenario = BasicScenario {}
- type Tags = [Tag]
- type Tag = Text
- type Comment = Text
- type Steps = [Step]
- data Step = Step {}
- type ExamplesSection = [Examples]
- data Examples = Examples {}
- data MultilineArg
- type PyString = Text
- type Table = [Row]
- type Row = [Cell]
- type Cell = Text
- data StepKeyword
Documentation
For a more detailed description of features, check https://github.com/cucumber/cucumber/wiki/Feature-Introduction.
Feature | |
|
type FeatureElements = [FeatureElement]Source
data FeatureElement Source
A FeatureElement
is simply a Scenario
or a ScenarioOutline
.
data ScenarioOutline Source
The Steps
of the ScenarioOutline
can contain placeholders which are
substituted by the fields of the ExamplesSection
. For more information on
the ScenarioOutline
check
https://github.com/cucumber/cucumber/wiki/Scenario-outlines.
type Background = BasicScenarioSource
The Background
is basically a Scenario
without Tags
. It's used to
create a context for the other Scenario
s to run, and a Feature
can only
have one Background
. For more information on the Background
check
https://github.com/cucumber/cucumber/wiki/Background.
data BasicScenario Source
This is the basic type for Scenario
, ScenarioOutline
and Background
.
For more information on Steps
check
https://github.com/cucumber/cucumber/wiki/Given-When-Then.
type ExamplesSection = [Examples]Source
The Examples
are used to fill the value of placeholders on
ScenarioOutline
s.
data MultilineArg Source
Steps
can have multi-line arguments. For more information check
https://github.com/cucumber/cucumber/wiki/Multiline-Step-Arguments.