As the name implies, I want to follow some specific configuration / environment setup steps before the script outline. I know what exists for scripts Background, but Behave splits the script scheme into several scripts and thus triggers the background for each input in the script loop.
This is not what I want. For some reason I can’t provide the code I'm working with, however I will write an example function file.
Background: Power up module and connect
Given the module is powered up
And I have a valid USB connection
Scenario Outline: Example
When I read the arduino
Then I get some <'output'>
Example: Outputs
| 'output' |
| Hi |
| No |
| Yes |
What will happen in this case: Behave will power cycle and check the USB connection for each output Hi, No, Yesthat will lead to three cycles of food and three checks connection
, Behave , .
?