Vidyalelo
Ruby Programming · Q16

Testing in Ruby (RSpec, MiniTest, etc.)

Programming · Ruby Programming · question 16

Q16

What is the purpose of a fixture in Ruby testing?

A.
Checks if a method is called with the correct arguments
B.
Simulates the behavior of a real object
C.
Overrides the behavior of a method to return a specific value
D.
Provides a fixed baseline for the test data
Answer

Answer: Option D

Solution

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