Skip to content

Background

Ahmed Ali edited this page Jan 24, 2016 · 3 revisions

##@Everyone

Background

Background is a small scenario that will be executed before each other scenario in the feature.

However, a background scenario will be executed after all your Before hooks.

It is recommended to eliminate your usage of Background scenarios as much as possible, and make them as short as possible. Because you will have to remember the fact that they are executed before each of your scenarios and consider their effect on the scenarios.

Clone this wiki locally