| Portability | portable |
|---|---|
| Stability | unstable |
| Maintainer | Marco Túlio Pimenta Gontijo <marcotmarcot@gmail.com> |
| Safe Haskell | Safe-Infered |
Language.Abacate.Types
Description
- 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.
Constructors
| Feature | |
Fields
| |
type FeatureElements = [FeatureElement]Source
data FeatureElement Source
A FeatureElement is simply a Scenario or a ScenarioOutline.
Constructors
| FES Scenario | |
| FESO ScenarioOutline |
Instances
Constructors
| Scenario | |
Fields | |
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.
Constructors
| ScenarioOutline | |
Fields | |
Instances
type Background = BasicScenarioSource
The Background is basically a Scenario without Tags. It's used to
create a context for the other Scenarios 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.
Instances
For more information on Steps check
https://github.com/cucumber/cucumber/wiki/Given-When-Then.
Constructors
| Step | |
Fields | |
type ExamplesSection = [Examples]Source
The Examples are used to fill the value of placeholders on
ScenarioOutlines.
data MultilineArg Source
Steps can have multi-line arguments. For more information check
https://github.com/cucumber/cucumber/wiki/Multiline-Step-Arguments.
Instances
data StepKeyword Source