Home / MCQ Bank / Computer
Computer Testing In Ruby (Rspec, Minitest, Etc.)

What is the purpose of a stub in Ruby testing?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • Overrides the behavior of a method to return a specific value

Related Computer Questions

What is the order of precedence in python? What will be the output of the following Python code? veggies = ['carrot', 'broccoli', 'potato', 'asparagus'] veggies.insert(veggies.index('broccoli'), 'celery') print(veggies) What is the purpose of database normalization? What is the role of the SplitContainer control in a Windows Forms Application? ______ specializes in functions for analytical Customer Relationship Management.