Feature: Testing Sphinx Writer¶
Test the ability to write Gherkin data to a SphinxWriter object
Examples:¶
item |
---|
apple |
tree |
dog |
Background:¶
Given that this file exists
Scenario: Test a Scenario¶
Tagged: JIRA-1234, quarantined
Given a test feature
When the suite reaches a scenario
Then the file is converted into rST
Scenario Outline: Test a Scenario Outline¶
Given I put <thing> in a blender
When I turn the blender on
Then it should transform into <other thing>
Examples:¶
thing |
other thing |
---|---|
apple |
apple sauce |
banana |
smoothie |
Scenario: Text and Table Scenario¶
Given step text
Lorum ipsum solor sit amet.
When the suite reaches a scenario table
name
department
Barry
Beer Cans
Pudey
Silly Walks
Two-Lumps
Silly Walks
Then the file is converted into rST
Scenario: Normal scenarios with add on steps (And, But)¶
Given something
And something else
When something happens
Then something happened
And something else also happened
And another thing happened
Scenario: Indentation is ignored when any step in the scenario has text or a table¶
Given a step with some text
Here be that said text!
And an And step with some text too
Hello again!
And how about a table in there too
position
name
first
Who
second
What
third
I don’t know
When the fantasy has ended
And all the children are gone
Then something deep inside me
Helps me to carry on
And Encarnaciooooon
And doodle-doodle-doodle-doo