📜  黄瓜的背景是什么 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:14.684000             🧑  作者: Mango

代码示例1
Background in Cucumber is used to define
a step or series of steps which are common 
to all the tests in the feature file.
It allows you to add some context to the 
scenarios for a feature where it is defined.
A Background is much like a scenario containing 
a number of steps. But it runs before 
each and every scenario where for a feature in which it is defined.