Background () { Given I have ' BRANCH=master ' When I run }
Tags
#bash #bdd
Question
How the define a base scenario in bash_spec ?
Answer
?
Tags
#bash #bdd
Question
How the define a base scenario in bash_spec ?
Answer
Background () { Given I have ' BRANCH=master ' When I run }
If you want to change selection, open document below and click on "Move attachment"
GitHub - voiski/bash_spec: BDD for bash ackground Background is a usefull feature that enables your scenarios to have a background base scenario. The background steps will run before each scenario. To use it, override the Background. <span>Background() { Given I have 'BRANCH=master' When I run } Describe mehod_1 Then It should be valid '[ -f result.method_1.file ]' Describe mehod_2 Then It should be valid '[ -f result.method_2.file ]' Table of Contents Another BDD feature to im
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.