Skip to content

Commit 2437ff1

Browse files
authored
Merge pull request Codeception#169 from kirgy/docs/07-BDD-background-grammar
Documentation grammar fix
2 parents 04a5dbb + 1ea0260 commit 2437ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/07-BDD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ Let's improve our BDD suite by using the advanced features of Gherkin language.
400400

401401
### Background
402402

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.
404404

405405
{% highlight gherkin %}
406406

@@ -640,4 +640,4 @@ If you like the concept of Behavior Driven Development or prefer to keep test sc
640640

641641

642642
* **Next Chapter: [Customization >](/docs/08-Customization)**
643-
* **Previous Chapter: [< AdvancedUsage](/docs/07-AdvancedUsage)**
643+
* **Previous Chapter: [< AdvancedUsage](/docs/07-AdvancedUsage)**

0 commit comments

Comments
 (0)