Examveda

What is the purpose of the background keyword in Cucumber?

A. Defines steps that should be run after each scenario

B. Defines steps that are shared across multiple scenarios

C. Defines steps that should be run before all scenarios

D. Defines steps that should be run before each scenario

Answer: Option D


Join The Discussion

Related Questions on Testing in Ruby (RSpec, MiniTest, etc.)