Vidyalelo
Ruby Programming · Q24

Testing in Ruby (RSpec, MiniTest, etc.)

Programming · Ruby Programming · question 24

Q24

What is the purpose of a background section in a Cucumber feature file?

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board