You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/07-BDD.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -400,7 +400,7 @@ Let's improve our BDD suite by using the advanced features of Gherkin language.
400
400
401
401
### Background
402
402
403
-
If a group of scenarios have the same initial steps, let's that for dashboard we need always need to be logged in as administrator. We can use *Background* section to do the required preparations and not to repeat same steps across scenarios.
403
+
If a group of scenarios have the same initial steps we can define a *Background* section to be used prior to those steps being run. This allows us to avoid repeating our steps across multiple scenarios. Let's say that for the dashboard feature we always need to be logged in as administrator.
404
404
405
405
{% highlight gherkin %}
406
406
@@ -640,4 +640,4 @@ If you like the concept of Behavior Driven Development or prefer to keep test sc
0 commit comments